This is a migrated thread and some comments may be shown as answers.

[Solved] Access permissions for bin folder of web application when artifitial types are used

1 Answer 126 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Krasimir
Top achievements
Rank 1
Krasimir asked on 15 Sep 2010, 08:28 AM
Hi
What access permissions must be set for bin folder of web application when artifitial types are used in ORM application ?
When artificial types are used additional dll is generated at run time that represent those artificial types and needs to be stored in bin folder.

What are your recommendations in this case since I have not found info in online documentation?
Currently I have grant Read, Write, and Modify permission to network service account (the account used by app pool ) but wonder is this the right decision or I'm missing something


Best regards
Krasi Filipov

1 Answer, 1 is accepted

Sort by
0
Accepted
Zoran
Telerik team
answered on 16 Sep 2010, 02:01 PM
Hello Krasimir,

 If you specify "medium trust" in your web.config settings as the trust level for your application(and set the medium trust OpenAccess setting), a dll will not be created for the artificial types, they will only reside in memory. For this case you could leave your bin folder with no "Write" permissions. However if your code runs under full trust,  you will have to grant "Write" permissions to the bin folder for the dynamically compiled assemblies that get stored there.

Kind regards,
Zoran
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Krasimir
Top achievements
Rank 1
Answers by
Zoran
Telerik team
Share this question
or