Setting folder permissions in IIS through ASP coding

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • harrish
    New Member
    • Aug 2008
    • 2

    Setting folder permissions in IIS through ASP coding

    Can we set folder permissions in IIS 5 through ASP 2.0 coding? In my case, there is a particular folder named "Resumes" in the website in which anonymous users can post their profile but only registered users should have access to. For that I've set only Write permission in the IIS for that folder which enables any user to upload the resume but also disabling the registered user to access. The registered users will be stored in SQL Server database. So now my query is, is there any ASP coding which enables the Read permission in IIS to gain access to the registered user?
    Your help will be deeply appreciated. Thanks!
    Harrish
  • harrish
    New Member
    • Aug 2008
    • 2

    #2
    Any more clarifiacations required sir?
    Harrish

    Comment

    • jhardman
      Recognized Expert Specialist
      • Jan 2007
      • 3405

      #3
      There definitely is not. This would be a major security breach. For this type of functionality, most ASP programmers put the actual files in the DB (SQL supports binary data) and restrict users programmaticall y.

      Jared

      Comment

      Working...