Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Security / December 2006

Tip: Looking for answers? Try searching our database.

Securing Web Servicesq

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris - 20 Dec 2006 20:38 GMT
I want to secure a web service so only authorized client apps can use it.
Will using SSL with an encrypted username and password in the soap header do
the job? I know you could potentially capture a post to a web service (or
anything sent over the web). Will SSL mean you can't capture the stream to
the web service and resend it? I am thinking if the post to the web service
contains the username and password then it is useless unless SSL means it
can't be captured and reused? Regards.
Andy - 21 Dec 2006 10:24 GMT
The stream can not be replayed. Each SSL connection has a unique session key
so just replaying an old stream on a new connection will not work

Remember to only send a hash of the password and not the full password. This
means that you don't have to store actual passwords on the server.

Regards,

Andy Kendall

>I want to secure a web service so only authorized client apps can use it.
>Will using SSL with an encrypted username and password in the soap header
[quoted text clipped - 3 lines]
>service contains the username and password then it is useless unless SSL
>means it can't be captured and reused? Regards.
Andy - 21 Dec 2006 11:49 GMT
I forgot to say, a replay attack on the same session is also avoided because
each packet has an incremental sequence number which is remembered by the
SSL session.

> The stream can not be replayed. Each SSL connection has a unique session
> key so just replaying an old stream on a new connection will not work
[quoted text clipped - 13 lines]
>>web service contains the username and password then it is useless unless
>>SSL means it can't be captured and reused? Regards.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.