Access password protected driectory (Plz answer this)
Hi
I need to know that how can we read a file from the password protected directory through JSP.
The JSP and the directory are on the same server, but the directory is password protected.
I am using tomcat, and even when I upload files through JSP the JSP can not access the directories as they are password protected.
How can we pass the username and password in our servlet/Jsp to pass (LOG) into the directory and read/write the file.
Thanks Saulat
well some body tld me that may be I have to use Access control lists, one of my freind told me that this problem was faced by them in early 90's when jdk1.1 was released and he said that thr was nothin such facility provided by Java, so they use C++ to do this job and interfaced it with Java.
But now I think they should hav given some thin to solve this problem
Similar Messages
-
I can't access password protection manager on my External Hard Drive to unlock it
I can't access password protection manager on my External Hard Drive to unlock it , its kind of infected by a virus I guess and it is not bring me the password protection manage screen to enter password and access my data...
Solved!
Go to Solution.Hi vahid22! Please provide the model number (usually on the bottom of the unit) of your Sony External Hard Drive. Thank you!
-
Can't access Password Protection Manager on my External Hard Drive to unlock it
I can't access password protection manager on my External Hard Drive to unlock it , I got updated antivirus and I always use safely remove to remove the hard drive. I see the UNLOCK APP Drive, and the Public Area, but when I run the "Password Protection Manager.exe" file at UNLOCK APP Drive, the bar will just be fulfilled by approximately 60% by showing "Loading...", then it stops for many seconds, and it starts to run the Installation file (PasswordProtectionManagerSetup_F.exe) which will delete all unlocked files if I accept it to install.
2 TB External Hard Drive Model HD-E2
Model No.: OAW1AGK370300BF
201307
Please let me know how I can access my protected files (the locked drive).Hi vahid22! Please provide the model number (usually on the bottom of the unit) of your Sony External Hard Drive. Thank you!
-
Can't access password protected .Mac Web Gallery
Safari is my primary browser. I have been creating web galleries using iLife '08 and my .Mac account and then viewing them with Safari for the past month or so with no trouble. This weekend I tried creating a password protected web gallery and it won't load in Safari. The gear icon just spins forever and has timed out when I have left it alone long enough. My other web galleries continue to load just fine. Clicking on the link from within iPhoto for my password protected gallery doesn't work, typing the url into Safari doesn't work, going to my gallery index and clicking on the icon of the "locked" gallery doesn't work, etc. I can still view all of my other web galleries, but this one that I'm trying to protect just won't load.
This actually appears to be a Safari problem. I don't get a dialog asking for User Name and Password. The url works just fine using Firefox on my Mac, and it also works on a PC running Windows XP. When using something other than Safari, I get the prompt for User Name and Password that I would expect. Upon entering that information, everything looks normal and works just fine.
Tsk tsk Apple! Safari shouldn't be having trouble displaying protected .Mac web galleries. Sheesh!Just wanted to let you know that I have the EXACT SAME problem, except it is affecting my password protected iWeb site and my Gallery. I can view it from Firefox, so that is the web browser I am using now. I sent a bug report to Apple, and I also send them a request for help using e-mail, but so far I have gotten no response. Hopefully someone is working on the fix?
-
IPod touch can't access password protected WRT310N
I purchased this wireless router (WRT310N) so I could access the Net using my iPod Touch however while the iPod detects the network I am unable to access the network even though I am typing in the correct password. Anybody else have this problem? What am I doing wrong? Is this an iPod issue or a Linksys issue? Please help.
Are you sure you enter the passphrase correctly? Try to change the passphrase temporarily to something simple like "12345678".
Also, make sure that you do not use the SSID "linksys". Change your SSID to something unique. You don't want to connect accidentally to your neighbor's router.
Don't disable SSID broadcast. It only causes trouble.
Try toremove the wireless network from your iPod touch: select it and choose "Forget this network". Then go back and select "Other...". Now enter your SSID as network name. Choose Security WPA. Then enter the passphrase into the Password field. Press Join.
See if it connects now. Do you get the check mark to the network name now? -
Problem accessing password protected podcast
Hello,
I'm having trouble accessing a password protected podcast. I'm not asked for my username or password. The download fails silently. When I click on the exclamation point in the left columb I see the following message:
There was a problem downloading "http://rss.somepodcast.net/podcast/podcast.xml".
Authorization is needed to access "http://rss.somepodcast.net:8080/podcast/podcast.xml".
[OK]
I'm using iTunes 7.0.2 on MacOS 10.3.9. Has anyone experienced similar problems? I discovered that I could access the podcast if I hand edit a copy of the feed and insert my username:password into each link.
ColeCross-post: http://forum.java.sun.com/thread.jspa?threadID=758782
-
How to access password protected web service endpoint?
Hello,
I annotated an EJB as a web service end point with @WebService and @WebMethod, and put this end point into a security realm from sun-ejb-jar.xml.
Then I use wsimport to generate the client source code and compiled them with my program. But when I call the web service, an exception was thrown with message body "The server sent HTTP status code 401: Unauthorized". It seems that username and password for the realm will be set somewhere.
Could someone tell me where can I put the username and the password?
Thank you very much.Also I don't understand how security works in cases where I do not have the password. Imagine that my client is inside a web application, and is authenticated by the application server (by some unknown mechanism, even could be sso). I have access to my Subject and all, but I don't know the password.
How would I do to call another web application (or web service) in name of the callee. (that is, the user who called my web application) -
what is the difference between sy-tabix,sy-index
hi,
SY-INDEX
SY-INDEX contains the number of loop passes in DO and WHILE loops, including the current loop pass.
SY-TABIX
Current line in an internal table. With the following statements SY-TABIX is set for index tables. With hashed tables, SY-TABIX is not filled or it is set to 0.
· APPEND sets SY-TABIX to the index of the last table row, that is the total number of entries in the target table.
· COLLECT sets SY-TABIX to the index of the existing or appended table row. With hashed tables, SY-TABIX is set to 0.
· LOOP AT sets SY-TABIX to the index of the current table row at the beginning of every loop pass. After leaving a loop, SY-TABIX is set to the value it had before entering the loop. With hashed tables, SY-TABIX is set to 0.
· READ TABLE sets SY-TABIX to the index of the table row read. If no row is found with binary search while reading, SY-TABIX contains the index of the next-highest row or the total number of rows +1. If no row is found with linear search while reading, SY-TABIX is undefined.
· SEARCH FOR sets SY-TABIX to the index of the table row, in which the search string was found. -
I use NUMBERS on my MAC to create a password protected document. I share this doc via DROPBOX. Is there any way I can view the doc on my IPAD without purchasing NUMBERS for the IPAD? The doc opened fine on the IPAD before protecting it with a password.
Using the term "opened" may have been incorrect on my part. Before password protection, I simply viewed the doc by selecting it within my DROPBOX app. No revisions could be made, but I could view the doc. Now, with the doc password protected, the IPAD states this file can not be viewed.
The IPAD users guide gives a list of files IPAD can view. Unfortunately, I find no info on how to open/view that file should it be protected. If
THANKS -
Can bypass the phones security even if do not know the lock pattern. Plz fix this bug
Hi,
We can bypass the phone secuity lock even if i do not know the unlock patter or lock password.
Lock the phone. On the Lock screen drag down the notification screen. You have the settings icon on the notification screen. Tap on that and here you go , you can access anyone's phone even if u do know know his/her lock password.
Sony Plz FIX this bug.Hi sammy3773
I tested all Security locks and the case you write about only happens if you have the slide to unlock feature. (Slide to unlock only protects against accidental touchpad activation but it's not a security lock)
If you set a pattern, a pin, a password, or face Unlock the Notification bar does not slide down.
(Im using ICS 4.0.4)
Best regards
Francis. -
Retrieving data from a password protected URL
Hi guys,
I was hoping that someone might be able to advise me on how to read data into java from a password protected URL. The first page has a "login" area, where the username and password must be supplied before access to the next pages are allowed. It is from these following pages that I wish to get the data.
I have a user name and password, and when I log in the usual way no cookie is created, nor is the username or password displayed as a part of the URL. Therefore, when I run my HTML parsing program to parse those pages, I get a message saying that I have to login first.
You can have a look at the site should you wish (I strongly advise this to get an understanding of the problem): http://news.ft.com/home/uk/
If anybody has some source code that could resolve this issue, I would be terribly grateful.
Thanks!Hi.
Usually you should be able to access
password-protected sites using a URL of the
form:http://username:[email protected]
-page.com/If you're trying to access those sites without using a
browser, you still have to encode the username and
password with base64-encryption, which is usually done
by the browser.
cheers,
kelysarMy program accesses this site without using a browser.....
In this case would you or anybody else be able tell me how to go through the process from start to finish? I just haven't got a clue! -
OBIEE 11g having problems with password protected PDF files.
I have been able to get an analysis in OBIEE 11g to display PDF files.
However, some of these documents contain sensitive information and must be secured. Since anyone with access to the file name
could simply type in the proper path in the browser window, this is unacceptable. In order to try and prevent this, I created a pdf file
that is protected with a password.
Opening the file by itself, produces the desired results. The password is requested before the file will open.
When I open the file through my analysis in OBIEE, Adobe reader activates, but the password is not requested and the file does not open.
It is as if OBIEE is somehow not sensing that Adobee is asking for a password.
Does anyone have any experience with this?FYI, in case anyone is interested, I found out what is going on.
I created the original password protected PDF using Microsoft Word. I did this because I do not have a full version of Adobe Acrobat that allows me to create files.
On a hunch, I found someone that has a full version of Acrobat, and had them create a password protected PDF file. This file worked perfectly.
Apparently, Word is not strictly adhering to PDF guidelines, and OBIEE senses the differences, resulting in the file not opening properly.
Something to keep in mind for anyone linking to password protected PDF files in OBIEE. -
How do I access Excel on my Mac after downloading Lion. I get the message that Power PC applications are no longer supported. numbers won't open excel password protected documents
Well, check that this is Pro workstation, not Lion, and not MBP....
Rosetta / PowerPC is not supported, so you must also have an out of date version of Office like 2004 or earlier. 2008 and 2011 do work, though there may be 3rd party extensions or plug-ins that do not.
MacBook Pro
Lion Mac OS X Communities
RoaringApps Mac OS X Lion Application Compatibility
Lion App Compatibility Table - RoaringApps
Microsoft Office known issues with OS X 10.7 Lion -
I want to password protect my laserjet (NO print without Password)
Hi there,
I bought HP Laser Jet 200 Color M251nw (75576E) and i want it to password protect, its connected wirelessely to 8 PC 4 Mac and 4 PC's, the problem is everyone printing it unless the printer says out of toner.
I dont want that, can i have a setup where the printer is only print when someone enter the password.
ThanksHi,
A such can be controlled by your network, the printer will be available for any device connected to the same network and a such cannot be controlled by the printer.
To prevent accessing your network password protect your network, if this is a shared network the HP device will be accessible for any other connected device within that network.
Regards,
Shlomi
Say thanks by clicking the Kudos thumb up in the post.
If my post resolve your problem please mark it as an Accepted Solution -
Hi guys, 2 quick questions about the SmartWare utility. I have searched for previous answers, but couldn't find any. Might be that I uses the wrong search terms though, so sorry in advance if this had been asked (and aswered) before. When I create a backup, it is being stored file-by-file in the "SmartWare" folder on the NAS. Since the SmartWare folder is public, all users with access to the drive can access this folder. Ultimately this means that ALL users of the drive can access the backup files of ANY user. If someone performs a full backup, this means that anyone has access to ALL the data of that person. I could't find any option in SmartWare to password-protect backups or something. From a security point of view, I would consider this as a worst-case scenario. Even worse is that there is no mentioning of this in the user's manual. Am I missing something here? Is there a way to protect backups against access by any other user? If this is really not possible, I would consider this application to be pretty much useless, to say the least. "Dangerous" would be a better description... My 2nd question is only relevant if there's a solution for the first one, because else I would't use this tool anyway: Does it automatically resume a backup if the machine is put to standby or hibernation mode during a backup operation, or will it restart from the start, or will the backup be interrupted (and thus useless)? Many thanks in advance!
One can create a Private Share on the WD My Cloud, configure it so only one user has access (password protected), then one can configure the SmartWare software to backup to that private share folder. One changes the backup location in the SmartWare program by selecting the dropdown selector box below the "WD My Cloud" on the Smartware "Home" screen. The Smartware User Manual explains this process under Chapter 5, Backing up Files, step 2, substep c. Smartware should resume the backup when ever it is interrupted. Here is how it is explained in the Smartware User Manual:Note: Backup protection is automatic for as long as the backup source and target devices are connected to your computer. Then, whenever you disconnect and reconnect either device, the WD SmartWare software rescans the backup source device for new or changed files and resumes automatic backup protection.
Maybe you are looking for
-
I called Verizon before leaving the US and was told I could pay as I go for phone service with my iPhone 5. I cannot get on to any service here in Germany.
-
How to print pdf from black to color?
I've successfull changing the font color by set in the edit-preference-accessibility-replace color document. I changed the black to blue, but when printing, the result is still black. I want to print it in blue, not black. Should I change the default
-
Autorization and Workflow in portal for ESS & MSS
Hi All How to set Autorization and work flow in portal for ESS & MSS Business package Regards Daya
-
Adobe Create PDF download for Mac OS x 10.8.4
I couldn't install Adobe Create PDF onto my MacBook Pro. I received a response that it no longer accepts Classic version? What do I download and how do I find it?
-
SAP MII Home Screen Shows Blank!!?
Hi, We installed SAP MII 15.0 with MII Components (MII_ADMIN & XMII) on SAP NW 7.31 SP13 which is compatible version for SAP MII15.0. After completion of SAP MII15.0 on NW platform we try to login into MII using the url: http://<hostname>:<port>/X