Hi, I want to protect some files on my web, not folder. At the same time these files should also be accessible to my clients but I don't want them to download this file, how do I do. This is a .dll file. Regards, DT
Can you be a little more clear on "accessible to my clients but I don't want them to download this file" What exactly are you trying to accomplish? Mike Reilly, Secretary/Webmaster Kiwanis Club of Rancho Penasquitos "Serving the Children of the World" [email protected] (760) 419-7429
I have a dll file which will be used by the browser to display some graphics. I want to protect this particular dll file from downloading by visitors or any other. I hope this is more clear. DT
Well, since file permissions aren't an option, why don'tyou use some sort of obfuscator to make it harder to decompile after someone downloads it? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dotfuscator/dotf3e5x.asp http://www.asp.net/ControlGallery/ControlDetail.aspx?Control=926&tabindex=2 I've never used any of these, so I can't answer any questions about them. Looks like a viable option though. Mike Reilly, Secretary/Webmaster Kiwanis Club of Rancho Penasquitos "Serving the Children of the World" [email protected] (760) 419-7429
You want the files to be accessible to your clients but not downloadable? I'm not toally clear but it sounds like you might want to place the DLL into the _database folder (for example, whose files are not downloadable) then load it manually from your .NET code using System.Activator or simialr technique. Is that it? /emoticons/confused.gif
I am lost. Why is a dll file on your website if you don't want anyone to download it? Is it a .NET dll used by your application?? Where is it currently located? Bruce DiscountASP.NET www.DiscountASP.NET
Yes, it is .NET dll. We are currently working on it. If anyway it can be protected it would be great. DT
Just put it in the bin directory (that's where .net dll is supposed to be). Once you put it in there, you cannot download it. Bruce DiscountASP.NET www.DiscountASP.NET