Js File Problem??
-
i'm using a js file in my webapplication like this <script type="text/javascript" src="../ValInputs.js"></script> it's working fine ..But user gives the js file name in url he can download the .js file.. how can I restrict the user to download the .js files..
-
i'm using a js file in my webapplication like this <script type="text/javascript" src="../ValInputs.js"></script> it's working fine ..But user gives the js file name in url he can download the .js file.. how can I restrict the user to download the .js files..
It's not possible. Usually people used to write the entire JS in single line which makes it tough to read. I don't think that there is other way to protect this.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions