Permissions for individual folders

Discussion in 'ASP.NET 2.0' started by de Tukker, Jul 16, 2008.

  1. Hi,

    I want to change permissions on an uploadfolder, in order to let contentmanagers perform CRUD operations on files inside of the folder. How can I do this!?

    De Tukker
     
  2. You can use the membership/roles provider See:http://kb.discountasp.net/article.aspx?id=10413 and check the user's role(i.e content managers or others) and accordingly allow him to perform CRUD operations from that management page.For this , you will need some kind of forms authentication to know the user and his role in the membership database (one created above) for this page.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Yeah, done that already. These contentmanagers can already alter and insert new products, but the problem occurs when they try to add pictures. The errormessage that pops up says that they have no permissions to write on my local folder (C:\Documents\blabla...) while I've altered that pad when I put the application online to the path of the server. Any ideas?
     

Share This Page