473,799 Members | 3,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

secure web service authentication using asp.net membership provide

We have an asp.net 2.0 forms-authenticated application that uses the
membership and role providers built into the framework. We already have an
administration section in the application for those in certain "Roles".
However, my employer has asked me if there is a secure way to create a smart
client to manage users, roles, and other parts of the site configuration. I
have only limited experience in web development and even less with web
services, so I didn't know how to answer his question.

Our goal is to allow users who are in certain "Roles" within the site to
have access to the smart client. Once downloaded the smart client would make
use of a web service to manage usrer accounts, etc.

What I need to learn is how, if at all possible, should I secure my web
service methods to those that are not authenticated. Also, what would be the
recommended way to maintain that authentication token between calls?

By the way, my employer came up with this idea when he stumbled across this
article (http://www.eps-publishing.com/Articl...ickid=0511031). The
problem with the implementation in this article, though, is that it is
designed to be used in an intranet and doesn't deal with the
authentication/state problem I have attempted to describe here.

I'd appreciate any information you can provide.

Thanks.
Feb 9 '07 #1
0 2578

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4842
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms Authentication set up and it worked just fine. Then I realized that I needed to have some pages unsecure. I then created 2 directories. One named Secure and the other named Public. I placed my web.config file in my
1
1692
by: Rhett | last post by:
Hello,EveryBody! I'm troubled by a design problem, Hoping that you'll save me out! The Situation is: We have two project of code A and B.A is our reusable code base, B is for specified for our client;A has user authentication but based on client's requirements. Like:
4
1421
by: ad | last post by:
I want to set integrated Secure in my connect string to SQL Server I set the connect string as: workstation id=xxx;packet size=4096;integrated security=SSPI;initial catalog=vvv;persist security info=False and I have execute sp_grantlogin 'ServerName\ASPNET' in Sql Query Analyzer But when I execute my web application, it result an error at line:
3
2050
by: Kevin Richards | last post by:
I have a .NET web service that needs to be called from any platform. I need to make the Login method of the web service secure. It doesnt matter about the remaining methods, just the password parameter of the Login call needs to be encrypted. Trying to do this platform independently seems to be difficult. I feel certificates is a bit over the top for what I am trying to acheive. Does anyone know of a way to make a single mthod of a...
5
1477
by: sloan | last post by:
Are there any "gotchas" on deploying the default Membership Provider (aspnetdb) to a hosting provider? I'm about to do it. And how does one get to the "auto configurer" .. that allows you to setup roles/users .....? Can I do these steps:
3
2807
by: Smokey Grindle | last post by:
Can you use asp.net's membership and role provider sevices inside a web service for authentication? I am trying to find a way to reduce coding.. and that seems like it would be a good fit to do simple authentication (a user would login using a login method and create a session that way) thanks!
4
10716
by: dgilbert | last post by:
I have a custom membership provider that I am using to authenticate users in a WCF web service hosted IIS. I want to be able to see any cookies that come across and save session variables, but I cannot get to the OperationContext.Current nor the HttpContext.Current (I am using aspNetCompatibility=true and confirmed that it is enabled in the debugger) - both are null. Is there a setting someplace that will enable these to be available to...
2
1206
by: Andy B | last post by:
Can you have a WCF web service manage users in the membership providers? For example, if you were to use a standard login control on a page, it goes directly to the provider to sign in the user. Can I have a web service do this instead? If so, how do you do it?
1
1386
by: Michael Nemtsev [MVP] | last post by:
Hello Andy, ABThe same web server with different web applications. There is a ABlittle possibility that a client windows application will be built ABto be used from a remote computer. AB> ABThe website admin For the administration of legal forms for admin, ABNews, events, audio and partially the legal forms for customers. The ABcustomers will use it for the legal forms for customers. The rest of
0
9687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9541
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10228
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10027
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7565
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4141
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3759
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.