473,327 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

restrict file access to only one particular user who enters correct password in web

58
Hi all,
I want to restrict tomcatserver files to particularly one client that who enters username and password correctly anywhere in web(specifically in another system).But nobody without username and password cannot access the those files.

For example,I have avi files in tomcatserver.If any client enters username and password correctly only can access those avi files and others cannot able to access those files even by using the(http://xxx.xxx.x.x/dir/filename.avi ).

-Raju
Nov 23 '06 #1
8 3232
sashi
1,754 Expert 1GB
Hi all,
I want to restrict tomcatserver files to particularly one client that who enters username and password correctly anywhere in web(specifically in another system).But nobody without username and password cannot access the those files.

For example,I have avi files in tomcatserver.If any client enters username and password correctly only can access those avi files and others cannot able to access those files even by using the(http://xxx.xxx.x.x/dir/filename.avi ).

-Raju
Hi Raju,

All you need is little knoweledge on .htaccess & .htpasswd usage, do a little research for further reading & understanding. Good luck & Take care.
Nov 23 '06 #2
rajbala
58
Hi Raju,

All you need is little knoweledge on .htaccess & .htpasswd usage, do a little research for further reading & understanding. Good luck & Take care.


Hi sashi,
Could u tell me the process or Send me on example please.Its very urgent .Ur help will be appreciated.
Thank u.
Nov 24 '06 #3
sicarie
4,677 Expert Mod 4TB
Hi sashi,
Could u tell me the process or Send me on example please.Its very urgent .Ur help will be appreciated.
Thank u.
Google is your friend ;)

http://www.google.com/search?hl=en&q...=Google+Search

http://www.google.com/search?hl=en&l...wd&btnG=Search

Both of those returned tutorials or examples on the first few hits.
Nov 24 '06 #4
rajbala
58
Google is your friend ;)

http://www.google.com/search?hl=en&q...=Google+Search

http://www.google.com/search?hl=en&l...wd&btnG=Search

Both of those returned tutorials or examples on the first few hits.
Hai,

i had gone through the web site below .. Really i didn't get any idea on besides of my project.
Let me explain my problem.
In many web site when we login for checking our mails and bla-bla.. after that if i copy that URL in my system and logout.If i want to open my mail by that URL it doesn't accept it.
It said simple expire of your mail and relogin ..
This type of security i need..

I want this in java or jsp

Thankyou for your reply..
-raju
Nov 29 '06 #5
rajbala
58
I am still waiting........
Nov 30 '06 #6
sicarie
4,677 Expert Mod 4TB
I am still waiting........
If you didn't want to set up SSL or anything on the server, it sounds like what you may be wanting is a cookie.

Does this look like stuff that would be helpful to you?

http://www.google.com/search?hl=en&q...=Google+Search
Nov 30 '06 #7
sashi
1,754 Expert 1GB
Hai,

i had gone through the web site below .. Really i didn't get any idea on besides of my project.
Let me explain my problem.
In many web site when we login for checking our mails and bla-bla.. after that if i copy that URL in my system and logout.If i want to open my mail by that URL it doesn't accept it.
It said simple expire of your mail and relogin ..
This type of security i need..

I want this in java or jsp

Thankyou for your reply..
-raju
Hi there,

Kindly refer to below attached link, hope it helps. Good luck & Take care.

JSP Tutorial
Nov 30 '06 #8
vssp
268 100+
Yes Good guide
Dec 13 '06 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Paul | last post by:
Hi all, at present I I've built a website which can be updated by admin and users. My problem, I've combined "log in" and "access levels" to restrict access to certain pages, using the built...
1
by: raydelex | last post by:
I am new to securing a database with logins. My questions is: I want only one database to use a new Workgroup file that I have created, not all the Access databases that I bring up under my...
12
by: Me | last post by:
I'm trying to wrap my head around the wording but from what I think the standard says: 1. it's impossible to swap a restrict pointer with another pointer, i.e. int a = 1, b = 2; int *...
13
by: Peter Chant | last post by:
I'm considering setting a website up for a club. I do not plan the contents to be for public consumption, but on the other hand I'm not going to have anything on there that is confidential, that...
4
by: Jamey Shuemaker | last post by:
A2k2 with user-level security and all preventive measures, vis a vis, Security FAQ enabled or enacted. I've got three DBs, which due to size constraints can't, or rather, probably shouldn't be...
0
by: rajbala | last post by:
Hi all, I want to restrict tomcatserver files to particularly one client that who enters username and password correctly anywhere in web(specifically in another system).But nobody...
3
by: stumo | last post by:
Hi I'm fairly new to access and as such my experience of VBA is somewhat limited. I have a login form which is linked to an "employees table" which asks for users to enter their name and...
5
by: =?Utf-8?B?QWRyaWFuTW9ycmlz?= | last post by:
Hello! I'm trying to copy a file from another computer on the network that I do not have permission with my current logon details to access. If I open the folder using the Windows file manager...
5
by: Max2006 | last post by:
Hi, I am trying to limit my wcf service endpoint to response to only given windows user or group. How can I do that? Is there any way to configure that in the .config file? Thank you, Max
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.