Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

security trimming does not work

$
0
0

Hello All.

I have a Website built on .NET with the following specificatoin:

- dot net framework 2.0.

- windows server 2003.

- IIS6 .

- Used Role Provider and sitemap to generate my main menu for each user Role .

- Used web.config files in each subfolder to secure access to pages acording to users roles.

Every thing was working fine ,until I Upgraded  from framework 2.0 to framework 4.0 , i faced two problems that appears sometimes :

1 - security trimming does not work, such that all sitemap nodes are apears for all users regradless the node in their role or not. 

2- when user A request information he gots information requested by User B.

Notes:

* after restart IIS (some time the server machin) every thing works fine.

* I notced that this problem ocurres when there is alot of requests come to the server .

* the same site ( Code ) works fine localy ( in VS2010 ) .

have anybody have such situation and can help ? 

thanks in advance .

shadi


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>