HighTechTalks DotNet Forums  

Only Admins Group Gain Access to the Remote Objects!!!

Dotnet Framework (Remoting) microsoft.public.dotnet.framework.remoting


Discuss Only Admins Group Gain Access to the Remote Objects!!! in the Dotnet Framework (Remoting) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Only Admins Group Gain Access to the Remote Objects!!! - 12-21-2004 , 07:52 AM






Hi,

I'm using Winform client Side, and Server objects hosted in IIS.
I'm using Integrated Security to authenticate users (We are using
Roles based authentication in Sql Server with domain Users, to return
Data to Client Side).
The server side machine, is Windows 2000 server, and is configured as
domaine controler.
We are using 3 Tier architecture, and instantiate objects using
Interfaces.
the config in Server Side is like :

<system.runtime.remoting>
<!-- BL_Occupation -->
<application>
<service>
<wellknown
mode="SingleCall" objectUri="SecteursProjet.soap"
type="WebServeurLocation.BLL.BLL_SecteursProjet,
WebServeurLocation"/>

</service>
<channels>
<channel ref="http"/>
</channels>
</application>
</system.runtime.remoting>

The config in Client Side :
<channels>
<channel ref="http" useDefaultCredentials="true" port="0">
<clientProviders>
<formatter ref="binary"/>
</clientProviders>
</channel>
</channels>
<client>
<wellknown
url="http://SDI-B-106-A5/WebServeurLocation/DossierLocation.soap"
type="Interfaces.BL_Dossier, Interfaces"/>
......

I presume thats OK !


The problem is that Just the Admins Group server can access the server
Object, the access is denied to all other users.
When a user type the url:
"http://SDI-B-106-ServeurLocation/DossierLocation.soap?Wsdl" from
Client machine, he got the Dialog Box to be identified, and no one can
access but the adm.

NB : the sercurity on Windows Folders are Well Done.


I'm Open to all suggestions
Thanks in advance,

Reply With Quote
  #2  
Old   
Sam Santiago
 
Posts: n/a

Default Re: Only Admins Group Gain Access to the Remote Objects!!! - 12-23-2004 , 04:40 PM






How are you testing your URL? Are you accessing through your Winforms
client? Try through IE and see what happens. IE can forward the user's
identity when you configure your virtual directory with integrated security.
If it works with IE and not your WinForms app then you are not properly
forwarding your user's identity to IIS.

Thanks,

Sam

--
_______________________________
Sam Santiago
ssantiago (AT) n0spam-SoftiTechture (DOT) com
http://www.SoftiTechture.com
_______________________________
"imad" <aissaoui_imad2 (AT) hotmail (DOT) com> wrote

Quote:
Hi,

I'm using Winform client Side, and Server objects hosted in IIS.
I'm using Integrated Security to authenticate users (We are using
Roles based authentication in Sql Server with domain Users, to return
Data to Client Side).
The server side machine, is Windows 2000 server, and is configured as
domaine controler.
We are using 3 Tier architecture, and instantiate objects using
Interfaces.
the config in Server Side is like :

system.runtime.remoting
!-- BL_Occupation --
application
service
wellknown
mode="SingleCall" objectUri="SecteursProjet.soap"
type="WebServeurLocation.BLL.BLL_SecteursProjet,
WebServeurLocation"/

/service
channels
channel ref="http"/
/channels
/application
/system.runtime.remoting

The config in Client Side :
channels
channel ref="http" useDefaultCredentials="true" port="0"
clientProviders
formatter ref="binary"/
/clientProviders
/channel
/channels
client
wellknown

url="http://SDI-B-106-A5/WebServeurLocation/DossierLocation.soap"
type="Interfaces.BL_Dossier, Interfaces"/
.....

I presume thats OK !


The problem is that Just the Admins Group server can access the server
Object, the access is denied to all other users.
When a user type the url:
"http://SDI-B-106-ServeurLocation/DossierLocation.soap?Wsdl" from
Client machine, he got the Dialog Box to be identified, and no one can
access but the adm.

NB : the sercurity on Windows Folders are Well Done.


I'm Open to all suggestions
Thanks in advance,



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.