disable webclient access

Forum to discuss the Web client version of Servoy.

disable webclient access

Postby stevek » Mon Jan 12, 2015 5:15 am

Hello all!

I have maybe an unusual situation. I need to prevent any access to servoy via web client. I would like all logins to be with the smart client only.

Is there a way I can block / disable / prevent access to a web client login?
stevek
 
Posts: 53
Joined: Thu Jan 25, 2007 7:19 pm

Re: disable webclient access

Postby patrick » Mon Jan 12, 2015 8:30 am

Just make your solution Smart client only (solution type)?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3594
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: disable webclient access

Postby jcompagner » Wed Jan 14, 2015 6:22 pm

if you really want to disable all webclients then you could also edit the web.xml that is in the server\webapps\root\web-inf folder

there you have a mapping:

<servlet-mapping>
<servlet-name>servoy_client</servlet-name>
<url-pattern>/servoy-client/*</url-pattern>
</servlet-mapping>

if you remove those lines then the servoy client is not mapped anymore so can't be started
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 2 guests

cron