Open a file with a differnet security context

Open a file with a differnet security context

Post by Namshu » Fri, 22 Feb 2008 19:29:14


Hi,

The scenario is :

I have a domain account set on a network share, this restricts all access
to this folder which contains Restricted PDFs

I have an web App that needs to open the file (on demand by many people, who
are restricted via the web application) as a file stream.

I'm using windows authentification.

So i'm trying to access a file under my security context which gives and
invalid login/password, but I need to open the file under the only account
that has access to the share. Is this possible?

Cheers
 
 
 

1. Printing report b after report a prints using report a's variables

2. Why does Form-A's instance fire Form-B's event??

Hi,

I have an MDI application. I'm opening 2 instances of the same form,
Form-A and Form-B.

WHen I have these two instances of same form open, it looks like all
the events are shared between Form-A and Form-B.

Eg., I have a button, which on click, changes the tab from Tab-1 to
Tab-4.

Since, in this case, both Form-A and Form-B have same buttons, the
button click on Form-A changes Form-B's Tab-1 to Tab-4. Which should
not happen. How can I avoid this?

How is this handled in .NET? Shouldn't the events of Form-A be kept
separate from Form-B's events?

Any help is greatly appreciated.

HyperX.

3. using "if" but omitting the #n/a's

4. equation that will filter out #N/A's

5. "Matching" column A's values in column B

6. Formula's with #N/A's

7. How do I only get valid "answers" in a VLOOKUP function (no #N/A's

8. 'Send As' messages stay in User A's sent folder.

9. Scottie A's Hall of Flame

10. CAnnot type lowercAse 'A's Anymore (solved!)

11. more a's than b's

12. how do u invoke Tag b's Tag Handler from within Tag a's tag Handler?

13. lookup only finds #n/a's

14. Try Again / VLOOKUP without N/A's

15. Host would occasionally fail to resolve A's rec.Help!