c#.NET file acces denied problem

I was trying to access a file with the user having only read permission. the code looked like:
[code lang=”c#”]FileStream fs =new FileStream(
FileMode.Open); [/code]
and it uset to throw exception “access denied”. After some investigations I’ve found that FileAccess.Read helps a lot.[code lang=”c#”]FileStream fs = new FileStream(
FileAccess.Read); [/code]