I have a question about securing web services. The web services we have created are for internal use only. They are written in Java and running in Websphere 5.1 Express on the system i. I know this is an unsupported version. Upgrading isn't an option right now. The reason we need to secure them is we will be implementing some that create and update records. We don't want developers to call these services in production. Up until now, they have just returned data so it hasn't been an issue.

The web services that update records will be in different EAR files and therefore are different applications in Websphere from the ones that just read data. There are only certain machines that should be able to call the production services. Our web site is written in .NET, so we want the machine running the .NET code to be able to call the web services. From my understanding, digital certificates would be one way to solve the problem. Since I haven't worked with digital certificates, I was wondering if there was another approach that would work. I noticed in the Apache configuration, there is the Allow directive. This would allow you specify specific IP addresses to control access. I added an "Allow from xx.x.x.xxx" directive to the end of the httpd.conf file, but that didn't work. It basically didn't allow anyone to connect. After reading the Apache documentation some more, it appears that the "Allow from" directive should be specified within a <Directory> or <Location> or <Files> section. Since there aren't any files in the Apache http server related to the web services, it seems like this method won't work.

Does anyone have an idea if the "Allow from" directive should work? If so, how? If not, what are my options? TIA

Dean Eshleman,
Software Development Architect

Everence Financial
1110 North Main Street
PO Box 483
Goshen, IN 46527
Phone: (574) 533-9515 x3528

Please note my e-mail address has changed

Confidentiality Notice: This information is intended only for the individual or entity named. If you are not the intended recipient, do not use or disclose this information. If you received this e-mail in error, please delete or otherwise destroy it and contact us at (800) 348-7468 so we can take steps to avoid such transmission errors in the future. Thank you.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.