ym21 Posted April 25, 2006 Posted April 25, 2006 hi all, I have to protect some files from web server. It means that only user login to the system then only can download the file and is not just typing the url like http://localhost/abc/filename. Please advice and help. Thanks in advacnce Quote
Administrators PlausiblyDamp Posted April 26, 2006 Administrators Posted April 26, 2006 If you are using windows integrated security and the IIS folder is on a NTFS drive you could assign permissions to the files themselves directly (or even better put them in a sub-folder and secure that). Also under .Net you can configure access rules via the web.config to only allow access to certain files or areas to specific users. If you search the forums you should find some samples or failing that just ask again for more specifics. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.