encryption - EFS in ASP.NET C# with form authentication? -


i'm new encrypting file system (efs). have asp.net web application hosted on windows server 2008. web application saves files in local folder on server. when applied efs (encrypt contents secure data) attribute folder while using administrator login, files inside got encrypted , not accessible other users. but, web application cant access files. web application set forms based authentication. how can permit web application access files?

efs designed allow user encrypted data see it. since encrypted value administrator user user application running (network service or whatever you've configured) doesn't have access. need give them decrypt rights on folder. forms authentication has no bearing on this, doesn't interact windows-level security.

you can specify user going through details section of folder properties window , specifying web app user. may have enable loading user profile application pool though.

but being said, don't know if efs let iis decrypt data. googling around hasn't proven successful.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -