P
Paolo opg
hello
i'm currently developing web pages that should access a sharepoint 2007
list, insert data into that list and read data from that list.
that list is a limited access one, with only a couple of users with write
permission and almost every user without any right on that list, not even
read access.
the init code for read and write operations is as follows:
liste = New Intranet.Lists (intranet = web ref)
liste.Credentials = New Net.NetworkCredential("user", "pass", "dom")
liste.Url = "http://intra.net/sites/website/_vti_bin/lists.asmx"
..
..
..
where 'user' is a user with access to that list.
with the init code shown above, i perform data insert into the list and
everything works as expected: user loading the web page DOES NOT have
access to sharepoint list, but a record is inserted upon interface (aspx
page) request.
loading the page containing the read code, i get no result; i try to
retrieve the row i just lodaded into the list but no data is shown and no
error is given.
the row is visibile through sharepoint, so i'm sure the data is there.
what happens is that during insert operations the code-supplied
credentials are passed to sharepoint, but while reading, actual user (the
user that launched IE on client machine) credentials are passed to moss
server and no data is retrieved.
any idea about why i get this behaviour or any test to get more infos?
please note that:
- server software is iis6 on win2003 server
- integrated auth is enabled on iis for the virtual dir the pages reside
in and the correct user is recognized on access
- all the pages are placed in the same virtual dir
- no external components, only microsoft .net libraries
--
Paolo opg
BE AWARE that this post uses a fake reply-to address
to contact me write to:
janickg ( at ) hotmail ( dot ) com
--
i'm currently developing web pages that should access a sharepoint 2007
list, insert data into that list and read data from that list.
that list is a limited access one, with only a couple of users with write
permission and almost every user without any right on that list, not even
read access.
the init code for read and write operations is as follows:
liste = New Intranet.Lists (intranet = web ref)
liste.Credentials = New Net.NetworkCredential("user", "pass", "dom")
liste.Url = "http://intra.net/sites/website/_vti_bin/lists.asmx"
..
..
..
where 'user' is a user with access to that list.
with the init code shown above, i perform data insert into the list and
everything works as expected: user loading the web page DOES NOT have
access to sharepoint list, but a record is inserted upon interface (aspx
page) request.
loading the page containing the read code, i get no result; i try to
retrieve the row i just lodaded into the list but no data is shown and no
error is given.
the row is visibile through sharepoint, so i'm sure the data is there.
what happens is that during insert operations the code-supplied
credentials are passed to sharepoint, but while reading, actual user (the
user that launched IE on client machine) credentials are passed to moss
server and no data is retrieved.
any idea about why i get this behaviour or any test to get more infos?
please note that:
- server software is iis6 on win2003 server
- integrated auth is enabled on iis for the virtual dir the pages reside
in and the correct user is recognized on access
- all the pages are placed in the same virtual dir
- no external components, only microsoft .net libraries
--
Paolo opg
BE AWARE that this post uses a fake reply-to address
to contact me write to:
janickg ( at ) hotmail ( dot ) com
--