Allow user to password protect a form
I have created a form that asks if the user wants to insert a password - a basic text field. If the password field is empty, then the form opens. If the password exists, then the user is asked for a password - if correct, the form opens for editing, otherwise the form closes.
On the form is a text field called "PWD". The form is called "coal". The script in the Document level is:
var pw = this.getField("PWD");
if (pw == "") {
app.openDoc({cPath: "coal.pdf", oDoc: this});
} else {
var cRtn = app.response("Please Enter Password:", "Document Control Only");
if (cRtn != pw){
app.alert("Incorrect password entered");
this.closeDoc(true);
if (cRtn == pw){
app.openDoc({cPath: "coal.pdf", oDoc: this});
However, this does not behave as I want - anyone know what I have wrong (Damn, I wish I knew more). BTW - I have a Livecycle version that works perfectly, but I need the solution for both.
I think I should restate the need. I have many thousands of forms, and many thousands of customers. Most of them do not need the form protected or hidden, so the first step in this is to open the blank form without a challenge - just open.
Second step is to offer them a field to put in a password if they want it.
So the form needs to check if the password field is completed - if not, simply open. If yes, then ask for the password - if matched, open form. If not, close form.
Is the javasript issue overcome if I change the functionality to Formcalc?
Similar Messages
-
I'm trying to find an external drive for the MacPro that will allow me to password protect the external drive in case it is taken. Any suggestions on a very reliable one that is 2TB or a third party software that is compatable with the need I describe?
How much of a hurry are you in, and are you considering upgrading to Lion?
File Vault on Snow Leopard only encrypts home folders you select, and doesn't work well with Time Machine.
But Lion will have "full disk encryption" of local or external disks. See File Vault 2 here: http://www.apple.com/macosx/whats-new/features.html -
Firefox allows access to password protected site even when I have logged out?
I have developed a website with password protected pages - but Firefox STILL allows access to the protected pages after I have logged out and even if I close and re-open Firefox?
I have cleared the cache and checked 'Do not remember passwords' IE works OK??
== This happened ==
Every time Firefox opened
== I uploaded and tested the site.Did you clear the cookies as well?
You can also try to clear the "Active logins" : [[Clear Recent History]] -
EyesOnly - a question for users of Password Protect 6.
One user has reported to me that "EyesOnly", which comes as
an option in
my DW Extension "PasswordProtect 6" is not allowing some IE6
users to
access his protected pages. I am not certain whether this is
an issue
with his particular server, or is a general problem caused by
some new
IE6 security patch, as I've had no other reports.
So, has anyone using The EyesOnly option of PasswordProtect6
heard of
troubles ? Or if you test your own ability to access one of
your
EyesOnly-protected pages using, IE6 do you have any problems
reaching
the page after supplying the proper username/pw?
Thanks for checking. You can reach me directly at
michael{_at_}valleywebdesigns.com with results, or right here
if you
prefer.
fyi, if it turns out that IE6 is really making trouble, I
will help you
remove EyesOnly from your pages, and you will still be
protecting them
with PasswordProtect 6.
Thanks for your help.
emichael brandtWhy not post a link to a page like that and tell us what the
password is?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"E Michael Brandt" <[email protected]> wrote
in message
news:e57jag$aij$[email protected]..
> One user has reported to me that "EyesOnly", which comes
as an option in
> my DW Extension "PasswordProtect 6" is not allowing some
IE6 users to
> access his protected pages. I am not certain whether
this is an issue
> with his particular server, or is a general problem
caused by some new IE6
> security patch, as I've had no other reports.
>
> So, has anyone using The EyesOnly option of
PasswordProtect6 heard of
> troubles ? Or if you test your own ability to access one
of your
> EyesOnly-protected pages using, IE6 do you have any
problems reaching the
> page after supplying the proper username/pw?
>
> Thanks for checking. You can reach me directly at
> michael{_at_}valleywebdesigns.com with results, or right
here if you
> prefer.
>
> fyi, if it turns out that IE6 is really making trouble,
I will help you
> remove EyesOnly from your pages, and you will still be
protecting them
> with PasswordProtect 6.
>
> Thanks for your help.
>
>
> emichael brandt -
User Name/Password Protecting a Directory
I've seen this done without using a server-side scripting
method, but
instead using a configuration file to set a user name and
password for a
protected directory on an Apache server - where it throws
back the prompt
when trying to access it.
Does anyone know about this "configuration" file that allows
you to do this?
Where can I get the file from and edit it?
Shane H
[email protected]
http://www.avenuedesigners.comShane H wrote:
> I've seen this done without using a server-side
scripting method, but
> instead using a configuration file to set a user name
and password for a
> protected directory on an Apache server - where it
throws back the prompt
> when trying to access it.
>
> Does anyone know about this "configuration" file that
allows you to do this?
> Where can I get the file from and edit it?
>
http://www.bc.edu/offices/help/meta-elements/doc/articles/html/WEB-pwssecurefolder.shtml
Cheers jojo
Adobe Community Expert for Dreamweaver 8
http://www.webade.co.uk
http://www.ukcsstraining.co.uk/
Extending Knowledge, Daily.
http://www.communityMX.com/
Free 10 day trial
http://www.communitymx.com/joincmx.cfm -
Allowing user to add attachment to form
I'm trying to create a form for my users to fill out when they want to request my help with a project. Often times
they might have a document that they would like to submit with the request it might be a PowerPoint file, a MSWord or Excell file
I am currently using Version 7 and also have Version 8 available.
Is there a way to accomplish this.
-dOr you have a very expensive product that allows you to add this right to
your PDF files. -
Make Adobe form not editable and Password protected
Hi All,
Want to add a button on adobe form , when user clicks the button then the form shouldn't allow to edit fields anymore.
I think this can be coded under script editor.
Please anybody specify the syntax to make adobe form not editable.
And my another issue is whether we can handle adobe forms password protected through SAP. kindly specify any approach.
Thanks in advance.
Regards,
Ashweeni.Hi Ashweenip,
PASSWORD PROTECTED PDF FORMS:
Go through these Threads
[Password protected PDF file|Re: Password protected PDF file]
[pdf with password encryption|pdf with password encryption;
Regards
Pradeep Goli
Edited by: Pradeep Goli on Feb 4, 2010 11:13 AM -
Distributing a password protected form
I need to password protect the form I created in live cycle and also need to distribute it so that the users can fill and save the form using Adobe XI...any suggestions. The user must be able to save a copy while also having the document signed....
You need to tell Firefox to remember your usernames and passwords. Select Tools > Options > Security. Ensure that "Remember passwords for sites" is checked. For more information, read this article: [http://support.mozilla.com/en-US/kb/Passwords Remembering Passwords]. After changing the settings, if Firefox is still not remembering your usernames/passwords, check [http://support.mozilla.com/en-US/kb/Username%20and%20password%20not%20remembered here].
-
Allow user to fill in a fillable pdf but disallow adding comments and annotation
Hi there. I have a fillable pdf created by livecycle designer. I want to let users fill in the form but prevant them adding comments and annotatons to the form. I cannot reset the above requirements in form property - form security if I have already set a password and allowed user to fill in the form. Can I user javascript to that effect during the document loading?
Thanks.Hi,
If you save the form as a Dynamic XML Form in the save-as dialogue, then the user will not be able to apply comments. They can only do this in flat or static PDF forms.
See here: http://assure.ly/gYyYc2
Previous post exploring annotating forms:
Drawing field?
Hope that helps,
Niall -
Looking for App/Setting for Messages/Mail password protection
Well its a bit simply really, I am just looking for something that will allow me to password protect mainly my messages, although it would be nice if i could password protect other apps or things on my phone, but its mainly for messages
Is there some kind of app that will allow me to do this?
I dont think there is anything in settings but a general password, which it only asks for when you unlock the phoneI've has smartphones since before they were called that, and I've never had one that could password protect only the email app. There's nothing to understand or not understand; the iPhone cannot password protect just email. You can lock the phone with a passcode. That's it.
-
Password protecting scanned documents
I can password protect pdf files, but when I scan a document, it won't allow me to password protect it. When I do "Save as" it doesn't give me security options. When I "print as pdf" it will give me security options but once I put in the password and try to save it, it says it doesn't save in print mode. I think my scanner may be scanning into Adobe Reader? What do I need to do to password protect these documents?
Not impossible at all because it already had the password!
The point is that some apps can set a password. We can't look inside your computer and tell you what apps you have, and which ones you were using to make particular PDF files.
There are two different ways to have a password on a PDF.
1. At the time it is made. Some apps offer this choice. Adobe Reader does not make new PDF files, only reads ones you made before so this does not apply.
2. Later. Adobe Reader can read the file BUT NOT SET A PASSWORD. The Adobe Mac app that does this is called "Adobe Acrobat Pro XI". -
Password protect an iBot attachment
Hello
I have a requirement to distribute a report from Answers via an iBot but have the PDF produced password protected by a specific password. Has anybody any ideas on how this can be achieved? I know it can be done through Publisher but the preference is not to maintain an Answers and a Publisher version of the report.
Thanks in advance.
Dom.Dom,
There's a PHP library http://www.idsecuritysuite.com/blog/wp-content/uploads/fpdi.zip that allows you to password protect PDF file
Function would look like this (i took it from the web):
<?php
function pdfEncrypt ($origFile, $password, $destFile){
//include the FPDI protection http://www.setasign.de/products/pdf-php-solutions/fpdi-protection-128/
require_once(’fpdi/FPDI_Protection.php’);
$pdf =& new FPDI_Protection();
// set the format of the destinaton file, in our case 6×9 inch
$pdf->FPDF(’P', ‘in’, array(’6′,’9′));
//calculate the number of pages from the original document
$pagecount = $pdf->setSourceFile($origFile);
// copy all pages from the old unprotected pdf in the new one
for ($loop = 1; $loop <= $pagecount; $loop++) {
$tplidx = $pdf->importPage($loop);
$pdf->addPage();
$pdf->useTemplate($tplidx);
// protect the new pdf file, and allow no printing, copy etc and leave only reading allowed
$pdf->SetProtection(array(), $password, ”;
$pdf->Output($destFile, ‘F’);
return $destFile;
//password for the pdf file (I suggest using the email adress of the purchaser)
$password = “[email protected]”;
//name of the original file (unprotected)
$origFile = “book.pdf”;
//name of the destination file (password protected and printing rights removed)
$destFile =“book_protected.pdf”;
//encrypt the book and create the protected file
pdfEncrypt($origFile, $password, $destFile );
?>You could invoke this process with advanced settings of your Ibot....or you could find/program a custom Java program that would do this...good luck -
Can I password protect fillable forms before sending via e-mail?
I use custom created forms on site and fill them using Adobe reader. This saves a lot of time and effort. These are then emailed directly to customers. Unfortunately they are still able to be edited by the recipient. Can they be protected to prevent the fields being changed, in effect making it a read only document?Hi,
Go to File>Form Properties>Security
Select the password option and when you save the form you'll be given opportunity to set 2 fifferent types of access passwords (open, edit)
Good luck,
Stephen -
How to disable password protection for Onenote 2013
I have been trying for a while to disable the ability for users to password protect a section in Onenote 2013.
I need to have access to all users onenote notebooks within the organization.
I have tried HKCU\Software\Microsoft\Office\15.0\OneNote\General\PasswordProtectionDisabled = 1 and it didn't work.
I tried the above solution on the 2010 version and it worked, but instead of it being 15.0 it was 14.0.
I would greatly appreciate any kind of help.Hi,
Thank you for the reply.
I would appreciate you could try following the following steps:
Download ADMX Template for Office 2013:
>>>There will be a folder named ADMX created with (ADM, admin, admx, exe, .xls & .xlsx files)
>>>Open admx >>>Copy all the admx files
>>>Go to C:\Windows\PolicyDefinitions ----Paste all the admx files;
>>>Come back to ADMX/admx folder/en-us/Copy all .adml files---Paste it in C:\Windows\PolicyDefinitions\en-US
>>>In run command Type "gpedit.msc"
gpedit.msc->User configuration->Administrative Templates->Microsoft OneNote 2013->Password >>>Do the necessary changes.
Once done with above changes, then go to below location & make the necessary settings:
HKCU\Software\Policies\Microsoft\Office\15.0\OneNote\General
DWORD: PasswordProtectionDisabled
Value: 1
If you still need further assistance, you may need to open a case with Microsoft by either calling
1-800-865-9408 or can open case online
http://support.microsoft.com/select/default.aspx?target=assistance
Thank you for contacting Microsoft Support.
Have a great day ahead.
Regards,
Abhijeet -
How can I password protect imbedded folders within an iWeb-created website?
I have read that iWeb will not allow you to password protect individual imbedded content (ex. individual albums or pictures), but, that you can only protect the whole site. I have also read on here that the password protection for the site isn't very good and is easily broken.
Short of creating multiple pages (each password protected) and then linking all the private pages to a public page, is there any easier way to password protect individual items of content rather than the whole site, preferably in a way that can't be "broken" in terms of bypassing the password?
Maybe I need to use a different application to create the website? If so, recommendations?What kind of content? If you use PDF files you can password protect them when you create them. The same goes for Word documents.
OT
Maybe you are looking for
-
Adobe flash player has downloaded successfully, but it's still not working
hello all, I have a new week old laptop, that has windows 7, I'm trying to view videos online, like on youtube, but it keeps saying download flash player, so I download it, then it says it again when i try to watch the videos. I've downloaded it abou
-
[Debian] Oracle 10g Express - init.d start/stop script problem + fix
I've experienced a problem with the init.d script "oracle xe" which is used to start/stop/reload the 10g server and comes with the debian package from oss.oracle.com. I noticed that after installing Oracle 10g in the "Debian" way (via .deb package an
-
Is there an ipad app that lets you use a stylus (or your finger) to write on Pages documents
-
Procedure to get semicolon seperated values using select query
I have got a requirement where I need to return a string with semi colon separated values. Input will also be a semi colon separated values I need to fetch data from tables and append those values into a string seperated by a semi colon. Example CREA
-
Can I convert a Docx to JPEG? I've found free Microsoft downloads for a converter. I don't think it's a good idea to download a microsoft file on my macbook pro. Does anyone have suggestions? Ideas please?