Re: Safely Running a Web Application that works with WSS Objects
From: Bob Mixon (bob.mixon_at_vixcorp.com)
Date: 09/13/04
- Next message: Bob Mixon: "Re: Safely Running a Web Application that works with WSS Objects"
- Previous message: Bob Mixon: "Re: Modifying dispform.aspx toolbar"
- In reply to: Eric: "Safely Running a Web Application that works with WSS Objects"
- Next in thread: Bob Mixon: "Re: Safely Running a Web Application that works with WSS Objects"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Sep 2004 13:37:23 -0700
Eric,
This sounds as though it could be a Code Access Security (CAS) problem. Not
being completely familiar with your application, specifically what it is
trying to accomplish and your current configuration, I would highly
recommend reading the following articles. These are from a gentleman named
Maxim Karpov, and are well worth taking the time to read.
http://ipattern.com/simpleblog/PermLink.aspx?entryId=43
http://ipattern.com/simpleblog/PermLink.aspx?entryid=48
------------------------
Bob Mixon
http://attunesystems.mywsssite.com
Do You Collaborate?
"Eric" <schmittes06@yahoo.com> wrote in message
news:eRPoWfamEHA.2504@TK2MSFTNGP14.phx.gbl...
> I wrote a web application that uses the Sharepoint DLL. The application
> displays a view of the top level and sub level sites that a user is a
member
> of. The application makes one query into the SQL database. The rest of
the
> information is pulled from Sharepoint objects. When run under a user that
> has been authenticated as a Machine Administrator the application runs
fine.
> Otherwise it breaks. At first it had a SQL security problem performing
the
> query which was fixed by giving authenticated users select permissions on
> that table. After the application executes the SQL query it gets the WSS
> error "Access denied. You do not have permission to perform this action
or
> request this resource". On Page Load I added :
> Dim sharePointPermissions as new
> systems.security.permissions.permissionState
> To assert the permissions:
> sharePointPermissions = 1
>
> This did not work. Does anyone know how I can safely give the web
> application sufficient permissions to use the Sharepoint objects? Any
help
> would be greatly appreciated.
>
> Thanks,
>
> Eric
>
>
>
- Next message: Bob Mixon: "Re: Safely Running a Web Application that works with WSS Objects"
- Previous message: Bob Mixon: "Re: Modifying dispform.aspx toolbar"
- In reply to: Eric: "Safely Running a Web Application that works with WSS Objects"
- Next in thread: Bob Mixon: "Re: Safely Running a Web Application that works with WSS Objects"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|