• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

form based security on vritual hosting

 
Sheriff
Posts: 9689
42
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am creating a site. I will host it on Virtual Hosting...For some pages I want to implement Form Based authentication...

To create form based authentication, you have to define a security role in the configuration files of the server...

My question is that is this possible in virtual hosting as the server will be shared(not dedicated).

If it is possible how can I do it...

If not then what are the alternatives.. How can I make sure that only authenticated users can access some pages. Is session the only alternative. Even for that how to check that the user is allowed to access a page. Do I need to put the code in every page or can I do it with some application level configuration..

Help of any sort will be very useful

Thanks..
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Of-course form based authentication can be implemented in a virtual server.
First of all, there is no need to share the server in the virtual machine. But if it is need, then that is a different case. Just treat virtual machine is like any other machine.

Just go ahead with the steps to make the authentication needs. Package the application. Deploy it in the server reside in virtual machine.
It should work fine!

Please let me know still somthing wrong!!!
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The question is not about virtual machines, it is about virtual hosting - something completely different, where you share the server instance with other web apps, and do not have complete control over the environment.
 
Ankit Garg
Sheriff
Posts: 9689
42
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ulf Dittmer:
The question is not about virtual machines, it is about virtual hosting - something completely different, where you share the server instance with other web apps, and do not have complete control over the environment.



Ya you are right....I have found that the solution could be filters....if anybody has done this earlier it will be very useful as I am facing a strict deadline....

Thanks...
 
Ramakanta Biswal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ya, I got it. Still, in virtual hosting, there is no need to share any application folder. Virtual hosting is a configuration on the server with different applications.

Form validation/ authentication is relate to an application and can be implemented with an application hosted in a virtual host.

Any light to this topic will really be appreaciable!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic