Membership forms with password
Hi I need to have a password on my membership forms
Hi;
There is not password protection for our forms but you could embed your form into your own password protected web site/page, it would not block anyone from discovering the URL directly to your form and filling it out, but it is not likely that one would discover that direct URL. Instructions for embedding your form can be found in this blog posting: http://blogs.adobe.com/acom/2011/05/embed-your-formscentral-forms-today.html
Thanks,
Josh
Similar Messages
-
I want to create a form with a manager completing one section and a staff member another. Neither should be able to edit the others. Can different sections be password protected by different passwords? I'm thinking there might be an "official use only" function.
You can use 2 forms in one portfolio.
-
Error in generating form with 6i
I have installed designer 6i rel 2 with form developer 6i on NT
4.0.
When in design editor, I want to generate the form with generate
module, the system generate "CDR-21600: A running Generator or
Utility has failed."
Also in action column writes: " It is possible that the internal
cache is now in an inconsistent state. You are therefore
recommended to close and restart the application."
Could anyone tell me what is the problem and how to solve it.
thanksHere is an document which describes some known causes of CDR-
21600 errors. I hope it will help you.
PURPOSE
To describe some known causes of CDI-21600 errors and to
suggest possible solutions and workarounds.
SCOPE & APPLICATION
This note was written for users of Oracle Designer releases 2.1.x
and 6.0.
CDI-21600 errors occur most frequently during Design Capture and
when generating forms with the Forms and WebServer generators.
Investigating CDI-21600 errors
In Oracle Designer Release 2.1.2 and Release 6.0, this error has
the form:
CDI-21600 'A running generator or utility has failed'
The Release 2.1.1 error message was: 'Generator or Utility throw
an Exception'
The CDI-21600 error message means that the generator is hitting
an unhandled exception, also known as a GPF (general protection
fault). The CDI-21600 error masks the underlying exception error.
To see the real error do the following:
1. Go into the Registry Editor (REGEDIT).
2. Navigate to HKEY_LOCAL_MACHINE\software\oracle\des2_70
3. Set EXCEPT_HANDLING to 0 (by default it is 1).
Repeat the action that resulted in the error.
Known Causes of CDI-21600 Errors and Possible Solutions
Some of the reasons why CDI-21600 errors occur are listed below.
1. A common cause of CDI-21600 errors is failure to install the
necessary
Developer patches.
See [NOTE:64630.1] Developer Patches required to run
Designer with Developer
2. Check that Designer is running on a supported database. Also
check that the
TNS connection is correct.
See [NOTE:60705.1] Designer Certification Matrix (HTML)
3. Check for 'dangling' foreign keys, in other words FKs no longer
owned by any
table in the repository. Delete all invalid constraints.
Invalid constraints may be created if you use the repository
dump utility to
dump and restore external foreign keys referencing tables
shared into the
application system, without dumping and restoring the tables
that own them.
If you restore a complete dump (rather than a 'skeleton' one),
and then use
the 'Reconnect Share Links' option when restoring, you may be
able to
resolve this problem.
To get a complete list of 'dangling' constraints in your
repository, connect
using SQL*Plus and use the following query:
SELECT app.name, key.name
FROM ci_application_systems app, ci_constraints key
WHERE key.table_reference IS NULL
AND key.application_system_owned_by = app.id;
You can also run CKAZANAL.ANAL_REFERENCES on your
repository and delete all
the invalid constraints that it finds. You can run the Repository
Analyzer
from: Front Panel -> Repository Administration Utility -> Utilities.
NOTE: There may be inconsistencies in the repository that the
Repository
Analyzer cannot fix. You might solve such problems by
dropping all the
tables of your application, recreate them from the ERD,
then use the
DDT and recreate your modules.
[BUG:847190] CDI-21600 during forms generation: 'dangling'
foreign key
"Since the generator is running on a repository that contains
invalid
constraints and the Repository Analyzer solves the problem,
bug closed as
unfeasible to fix."
4. Check your modules for invalid or missing references such as
missing window
placements.
5. Try generating your module against default templates and
object libraries.
6. When capturing forms or libraries, try capturing the form or
library without
application logic, then capture the application logic on its own.
See [NOTE:1064690.6] CDI-21600 when capturing design of
form with
application logic
[BUG:757541] DESCAP: CDI-21600 error reported when
capturing with
application logic
Fixed In Ver: 6.0
[BUG:926383] Duplicate of [BUG:757541] This has been fixed in
2.1.2 patch
779559. However you would be advised to apply a later patch
such as 855635
which fixes more bugs in this area.
7. Make sure that all objects that are referenced by the form have
been
captured into the repository before capturing the form.
8. A CDI-21600 will occur if a lookup usage displays only one
column of
datatype DATE or if the column of datatype DATE is displayed
as the first
item in the block.
Workaround
Add more column usages to the lookup block and do not
display the DATE data
type column usage as the first item in the block.
9. [BUG:810472] CDI-21600 when 'Argument in Caller' is set
Fixed In Ver: 6.5.3.0
Workaround
Make sure that you have an argument in the called module that
is mapped to
the "Argument Passed Value" in the calling module. The only
way to get this
mapping back once the APV has the <Module Argument> label
is to delete it
and recreate it.
10. [BUG:801736] CDI-21600 on design capture of a form with
subclassed object
Fixed In Ver: 6.0.3.1.0 (backport)
Fixed In Ver: 6.5
You have an item that has been subclassed to an object.
Checking the Design
Capture option 'Capture Control Blocks' causes the CDI-21600
error. Uncheck
'Capture Control Blocks' and the problem does not occur. Open
the FMB in
Forms*Builder and look at Data Blocks -> Items. Break the link
to the
object, save the FMB, and the form will capture (similar to
[BUG:794872]).
Alternatively, ensure the link can be established.
11. [BUG:850436] CDI-21600 on generation of a form with template
having
subclassed object group
You try to generate a form out of Designer that uses a user-
defined
template. If a collection of objects in the template is grouped
into an
object group, dragged into the object library and then either
copied or
subclassed into a form, when the form is generated you get a
CDI-21600
error.
12. [BUG:822659] Module generation fails (CDI-21600) with multi-
column PK having
long prompt text
Fixed In Ver: 6.5.3.2
Module generation with multi-column primary key having long
prompt text
causes CDI-21600 with preference MSGSFT set.
Workaround
Shorten the prompt text of PKs may not be not applicable. You
may loose end
user information.
You may have the same problem with a mandatory compound
FK. CASEOFG tries to
generate a message '<P1> must be entered', where <P1>
contains all the
prompts of the bound items from the FK. If you reduce the
length of the
prompts, or set MSGSFT = NULL or WEDI = S or property
Mandatory?=No, it
works correctly.
13. [BUG:792542] Capturing application logic causes CDI-21600
(V2 style
triggers)
Fixed In Ver: 6.5.5
After removal of the v2 triggers, the form captures/merges OK
on 5.0.24.8,
provided patch 875027 has not been applied.
14. [BUG:790877] CDI-21600 if the primary/foreign keys have no
key components
Fixed In Ver: 6.5.11
Generating a module with tables having a primary key not
correctly defined
(no PK component) will cause a CDI-21600 error. This can
occur when
unloading a module from the RON. If you pick up the module
(and only the
module) in the unload set, the table and its PK are unloaded as
a skeleton.
Loading the .DAT file into a new application will create a PK
without a
component.
15. [BUG:771549] CDI-21600 if cannot connect to the DB with
connect string in
Options (Compile)
Fixed In Ver: 6.5.13
If you cannot connect to the DB with the connect string
specified in options
(Compile), the forms generator will fail with CDI-21600.
This problem occurs when you cannot connect to the DB
because:
- the username or password is wrong;
- or the SQL*Net alias is not defined in the TNSNAMES.ORA
file;
- or the SQL*Net listener is not started;
- or the DB is down.
16. [BUG:785106] CDI-21600 when generate master detail form
with preserve layout
[BUG:855812] is a duplicate of this bug.
Fixed In Ver: 5.0.24.6.0 (Bug:860426 Backport request for 2.1.2)
Fixed In Ver: 6.0
Fixed In Ver: 6.5.3
You have a master-detail Form with the Master having items
partly on a TAB
Canvas. Generate Module works OK. You enter Forms Builder
and move some
items on the tabs (just small changes, items are still on the
same tabs).
You change the look of the Detail and change Records
Displayed. Now in
Designer you generate the Module with Preserve Layout. You
get a CDI-21600
error. The problem might reproduce without doing any changes
in Forms
Builder, just by generating with Preserve Layout.
17. [BUG:891306] If primary key column of lookup in check
constraint comment of
base table
Fixed In Ver: 6.5.5
Workaround
Do not use the name of the bound item that is based on the
primary key
column of the lookup table in a check constraint comment of
the base table.
18. [BUG:896026] Forms gen throws assertion failure in
CVINI/BUILDACTIONITEM@/CV/CVI/CVIBNI.CPP
Fixed In Ver: 6.5.7
A problem is caused by a PL/SQL definition (function, package,
procedure)
being defined as a called module for the module you are trying
to generate.
To resolve the problem and enable the module to be generated,
remove all
Called Modules that are PL/SQL definitions (functions,
procedures or
packages).
See [NOTE:2107207.6] CDI-21600 during generation of module
or Assertion
Failure \cv\cvi\cvibni.cpp
19. [BUG:812333] CDI-21600 generating a web module after
adding an unbound item
Fixed In Ver: 6.5.3.0
Backport [BUG:1280667] raised to fix by 6.0.3.9
You add an unbound item (SQL expression) to a Web module.
When you try to
generate the module you get a CDI-21600 error. If you delete the
unbound
item the Web module generates correctly.
In a test case the problem occurred during validation of the
derivation
text, if the master module component was in a different module.
A workaround
was to rearrange module components so that this was not the
case.
20. [BUG:1627963] CCVDIAG::TRACEGENERATORMESSAGE
WHEN GENERATING INCORRECT
DERIVATION EXPRESSION
Message
CDR-21605: Failed while processing Module <mod> in function
CCVDiag::TraceGeneratorMessage BOF
Cause
The generator failed due to an unexpected error - the
error indicates the object the generator was processing
when it failed.
Helena -
Rep-52005 error when running a report from form with parameter form
I am trying to run a report from a web deployed form and this report has a parameter form. I am getting a Rep-52005: The specified key report does not exist in key map file.
I am using Oracle Forms/Reports 10.1.2.0.2. My code is below. The first part works fine where I run a report with no parameter form, but the second part when I have a parameter form gets the about error.
PROCEDURE call_report (
p_report_name VARCHAR2,
p_reportobj_name VARCHAR2 DEFAULT NULL,
p_parameter_list paramlist DEFAULT NULL,
p_parameter_string VARCHAR2 DEFAULT NULL
IS
repid report_object;
v_rep VARCHAR2 (100);
rep_status VARCHAR2 (100);
v_report_url VARCHAR2 (240);
v_interface VARCHAR2 (50);
v_report_parameter VARCHAR2 (1);
vc_user_name VARCHAR2 (100);
vc_user_password VARCHAR2 (100);
vc_user_connect VARCHAR2 (100);
vc_connect VARCHAR2 (300);
v_reportserv VARCHAR2 (30);
v_job_number number;
BEGIN
/* Get the database to run the report against and
find out if the report has any parameters */
SELECT report_parameter_flag
INTO v_report_parameter
FROM program_list
WHERE program_type = 'REPORTS'
AND UPPER (screen_id) = UPPER (p_report_name);
vc_user_name := get_application_property (username);
vc_user_password := get_application_property (password);
vc_user_connect := get_application_property (connect_string);
v_reportserv := 'rep_xxxx_ias10g_home';
v_report_url := 'http://xxxx.state.il.us';
v_job_number := length(v_reportserv) +2;
vc_connect :=
vc_user_name
|| '/'
|| vc_user_password
|| '@'
|| vc_user_connect;
v_interface := get_application_property (user_interface);
IF ( v_interface = 'WEB'
AND v_report_parameter = 'N'
THEN
repid := find_report_object(p_reportobj_name);
set_report_object_property (repid, report_comm_mode, synchronous);
set_report_object_property (repid, report_destype, cache);
set_report_object_property (repid, report_desformat, 'pdf');
-- v_reportserv := get_report_object_property (repid,report_server);
set_report_object_property (repid, report_server, v_reportserv);
set_report_object_property (repid, report_other, p_parameter_string);
v_rep := run_report_object (repid);
rep_status := report_object_status (v_rep);
IF rep_status = 'FINISHED'
THEN
web.show_document (
v_report_url
|| '/reports/rwservlet/getjobid='
|| substr(v_rep,v_job_number)
|| '?server='
|| v_reportserv
,'_blank'
ELSE
message ( rep_status
|| 'Report output aborted');
END IF;
ELSIF ( v_interface = 'WEB'
AND v_report_parameter = 'Y'
THEN
repid := find_report_object (p_reportobj_name);
set_report_object_property (repid, report_comm_mode, synchronous);
set_report_object_property (repid, report_destype, cache);
set_report_object_property (repid, report_desformat, 'pdf');
set_report_object_property (repid, report_server, v_reportserv);
set_report_object_property (
repid,
report_other,
'paramform=yes P_USER_CONNECT='
|| vc_connect
|| ' P_SERVERNAME='
|| v_reportserv
|| ' P_ACTION='
|| v_report_url
|| '/reports/rwservlet'
v_rep := run_report_object (repid);
rep_status := report_object_status (v_rep);
IF rep_status = 'FINISHED'
THEN
web.show_document (
v_report_url
|| '/reports/rwservlet/getjobid='
|| substr(v_rep,v_job_number)
|| '?server='
|| v_reportserv
,'_blank'
ELSE
message ( rep_status
|| 'Report output aborted');
END IF;
ELSE
run_product (
reports,
p_report_name,
synchronous,
runtime,
filesystem,
p_parameter_list,
NULL
END IF;
EXCEPTION
WHEN OTHERS
THEN
message (SQLERRM);
END;
My parameter form comes up and I enter the necessary information and hit submit query button. Then I get the Rep-52005: The specified key report does not exist in key map file.
Any help will be greatly appreciated!!
Shellie BrickerYour code seems to be implementing metalink note 139546.1 - Using Reports parameter forms with RUN_REPORT_OBJECT on the web.
For what I can see, the P_ACTION parameter should end in ?...
i.e.
P_ACTION=http://<hostname.domain:port>/reports/rwservlet?'
set_report_object_property (
repid,
report_other,
'paramform=yes P_USER_CONNECT='
|| vc_connect
|| ' P_SERVERNAME='
|| v_reportserv
|| ' P_ACTION='
|| v_report_url
|| '/reports/rwservlet?'
);If this does not fix your problem, then to troubleshoot further you would have to post the code in your Before Parameter Form trigger of your report.
Hope this helps,
UPDATE:
If the above does not fix your problem, my guess is that report name is not being generated in the hidden runtime values build by the code in the Before Parameter Form trigger.
i.e.
http://localhost:8889/reports/rwservlet?report=&destype=cache&desformat=PDF
The above code will throw error REP-52005: The specified key report does not exist in key map file.
Edited by: Rodolfo Ferrari on Jul 8, 2009 9:43 PM -
What are the security settings to lock down a form with fillable fields and yet allow someone with Reader to fill in the fields as will as save the form and print it?
You want to allow someone to open your document and fill out the form (in the fields you have created), but not change or edit the form, right? Here's the answer - assuming you are using Acrobat Pro and someone will be opening the PDF using at least Acrobat Reader 9 and up:
Tools > Protection > Encrypt < Encrypt with Password
Answer YES to change the security.
A new window opens:
Do NOT select Document Open (or that will require a password to open the document.)
Select: Permissions (Check the box next to "Restrict editing and printing of the document.")
Change the following 2 settings from the drop-down box:
Printing Allowed: Select High Resolution
Changes Allowed: Select Commenting, filling in form fields, and signing signature fields
Leave selected: "Enable text access for screen reader devices for the visually impaired"
Change Permissions Password (insert a strong password)
Leave all other settings alone in "Options"
OK - OK
Re-enter the Permissions Password (the one you entered above)
OK - OK
Save the PDF to apply the security [notice that (SECURED0 will appear after the document title] -
Cannot login with password containing non-ascii characters
Hello,
I have web application, form based login. UTF-8 is specified "everywhere".
And it works, except for passwords.
If user register itself with password containing non-ascii characters, it is correctly written in database, but when doing either programmatic login or normal form based login, if fails.
If the password is only ascii, it works.
Username of login could be ascii or non-ascii, it doesn't matter, both works.
I'm using sun java application server 9.1.
jdbc realm.
I'm not using hashing passwords, just clean (now)
I tried configure realm Charset: UTF8 as last chance, but it doesn't work either.
The problem is only with non-ascii characters in password.
Any help very appreciated
Thanks a lothi,
I know all that, but that's not the case. My app uses preparedStatements, everything is properly configured, in all pages, utf-8 is going from user to db and back without any problems.
The only problem is with password field. As I am using form based login, with jdbc realm configured (again, nicely working when only ascii characters), I have very little chance to do something bad through the login phase.
I'm not talking about special characters, I'm talking about non-ascii characters, let's say - Chinese, arabish, Russian alphabet etc.
When user registers (my code), the fields are properly written to db. I have checked that, trust me.
But the Sun app server realm seems to have some problems with the password field.
(realm uses jdbc connection to mysql, the url contains all extra parameters to be sure about utf8. there is nothing more what can be configured...)
If I try other alphabet codes in login and ascii in password, it works. But soon, as I use other alphabet code also in password, it doesn't work anymore.
My only idea is, that I could try MD5 to create ascii only characters (I hope it works that way) on the client with javascript and then set Digest to MD5 in realm configuration. But still, it seems very strange. The clear way storage should also function? (now set Digest to 'none')
Is it a bug of Sun App Server?
thanks -
IWEB: Creating Membership Forms
Need help with creating membership forms on my site. I also wanted to have the members listed on the site, something like Facebook for example.
Any help deeply appreciated.
Many thanksTo add custom HTML to iWeb 1.x sites, see Chapter 2 HERE. Or consider using the free, web-based Ning as a "front-end" to your iWeb site — it offers _membership features_.
-
When I inherit Form with binding DataSet why then designer find mdb file in 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\'
Do I have to anything to change in my application settings or what I am doing wrong?
When I inherit a plain Form with no binding DataSet then is all ok.I finally saw my longingly expected inherited window containing binding dataset.
But only by way that I put mdb file right in to the this damn path.
"c:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Zdrojove Data\ISMS2003.mdb"
In addition mdb file shall be clear too of password.
We have many windows in our application and we have to work strongly good with inheritance of Form Classes.
But how I will explain to my Boss if he click on that inherited window and will see this break window?
Though I will advice to my Boss that hi have to copy too that MDB files to this damn path,
but the best way could be to find what I need to change that this inherited windows shows without copy this MDB files to
'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\'
When I check the settings for DataDirectory every paths looks good.
Even if I set password for the mdb file I almost see only broken designer window.
Only by copy this MDB file without his password to this path
'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\'
I can see this inherited window right. -
I am trying to create a web application that uses AD LDS as its authentication provider. I have followed all the steps and verified all the web.config files, but I receive the error below:
Cannot get Membership Provider with name CustomRoleProvider. The membership provider for this process was not properly configured. You must configure the membership provider in the .config file for every SharePoint process.
Has anyone come across this error before?There seems to be some issues in your web.config files. Please make sure your Web application entries for membership and role provider(at central admin site) are matching with Web.config entries. your error
"Cannot get Membership Provider with name CustomRoleProvider.
", indicating that you may have used role provider name in Membership provider text box or in web.config.
Also please make sure that you have correct entries in all 3 web.config files - Central Administration , Security Token Service (STS), Web application .
Please refer -
Forms Based Authentication (FBA) in SharePoint 2013
Thanks
Ganesh Jat [My Blog |
LinkedIn | Twitter ]
Please click 'Mark As Answer' if a post solves your problem or 'Vote As Helpful' if it was useful. -
Autofill works for forms with autocomplete="off"
From what I can grasp here:
https://developer.mozilla.org/en-US/Firefox/Releases/30/Site_Compatibility#Security
If a field or form has autocomplete="off" set, the password manager should prompt the user to save the password, but the password can not be auto-filled into the field.
This is not what I'm experiencing. I have a simple form with email and password field. Both the form itself and the fields have autocomplete="off", but Firefox 30 will still let me store the details and auto-fill them.
I cannot allow this, as it breaks Angular JS's binding causing things to not work.You can try to set the signon.autofillForms pref to false on the <b>about:config</b> page.
Note that the signon.overrideAutocomplete pref controls the behavior with autocomplete=off
You can open the <b>about:config</b> page via the location/address bar and you can accept the warning and click "I'll be careful" to continue.
*http://kb.mozillazine.org/about:config -
I am trying to connect oracle develper suit form with oracle 10g database
i am trying to connect oracle develper suit form with oracle 10g database
but when i pass username and password
this message apperars
ORA-12560:TNS:protocol adapter error
every time even i try to connect Report or Designer each time same problem
making no connection .
can any body help can help me to reslove this prblem
Arshad khanDuplicate thread:
Re: connection problem -
Can't style forms with CSS in DWCS6 / Need to add WYSIWYG menu
Hello everyone,
i put both my "problems" in a single topic:
1) I was trying to add some style to my pages with forms in them, but it seems it doesn't work so well.... i explain: i create a php page, i insert a form with text fields (username and password, for example) and the "login" button. The form ID is "LogForm". I create a CSS class, called ".FormCSS" and inside i put the rule "align text: right". I apply the rule to the form and all the text inside goes to the right. I try online (real server and local server, i tried both) but nothing happens, the elements of the form stay on the left. I tried to apply the rul to the ID of the form. Nothing.
Probably i'm doing something wrong. Even with text and tables inside the form, i can't move/modify them, at all. In design view i see all the changes, online i can't (chrome and IE). What do i have to do?
2) I'm creating a page to insert long text in a database, like when you post in a forum. I'd like to insert a sort of toolbar with the align options, style, and so on, like the WYSIWYG editors. Is it possibile? Is there a way to put a toolbar like that in DWCS6?
Thanks#1 You're not styling the correct form selectors: form, fieldset, lable label, input, textarea...
See example of a CSS styled HTML5 form. View source to see the code.
HTML5 Form with jQuery Validation
#2 Look at CK Editor.
CKEditor.com | The best web text editor for everyone
Nancy O. -
Security with password to edit
How can I secure the pdf with password so that none can edit the pdf form with liveCycle?
Also is it possible to do password protect with javaScript? If possible how?No,
Designer doesn't care which scripts you use in the form.
It's the design tool and doesn't execute the scripts.
You should use the password setting as Niall described above.
If you're tool really can recover the password you should use a most secure one.
The tools often use brute force which will take too long if the password is longer than 12 digits (chars + numbers + symbols).
Here's a password generator.
http://thelivecycle.blogspot.com/2010/08/password-generator.html -
C# Protect file with password
Hello,
I am creating a notepad where you can protect a file with an password. Try to imagine it as a protected .zip file with username and password, but in this case it's about an text file with a other file extension (.cpd). I tried a lot of codes, but they don't
work. So the question to you guys is: How do i protect a text file (or .cpd file) with C#?
I created the form with the username textBox and the password textBox (+ the login button)
I have experience with C#, but i stay an beginner
Thanks,
Hugo Woesthuishow do i make the text file in an other coding, so no one can read the text in Notepad, Word , etc
Hi,
Here is an example:
private void button_Click(object sender, EventArgs e)
//Filename
string _filename = @"C:\test\testfile.txt";
//Write data to file
FileIO.WriteEncryptedFile(_filename, "HELLO");
//Read data from file
System.Console.WriteLine("File content: " + FileIO.ReadEncryptedfile(_filename));
File input / output class:
public class FileIO
public static void WriteEncryptedFile(string filename, string data)
using (StreamWriter _streamWriter = new StreamWriter(filename, true))
_streamWriter.Write(new Crypto().Encrypt(data));
public static string ReadEncryptedfile(string filename)
using (StreamReader _streamReader = new StreamReader(filename))
return new Crypto().Decrypt(_streamReader.ReadToEnd());
Encryption / decryption class:
class Crypto
byte[] _key { get; set; }
byte[] _iv { get; set; }
public Crypto()
_key = Encoding.Default.GetBytes("ABCDEFGHIJKLMNOP");
_iv = Encoding.Default.GetBytes("ABCDEFGHIJKLMNOP");
public string Encrypt(string data)
using(ICryptoTransform _iCrypto = new TripleDESCryptoServiceProvider().CreateEncryptor(_key, _iv))
var _byteData = Encoding.Default.GetBytes(data);
var _encryptedData = _iCrypto.TransformFinalBlock(_byteData, 0, _byteData.Length);
return Convert.ToBase64String(_encryptedData, 0, _encryptedData.Length);
public string Decrypt(string data)
using (ICryptoTransform _iCrypto = new TripleDESCryptoServiceProvider().CreateDecryptor(_key, _iv))
var _byteData = Convert.FromBase64String(data);
var _decryptedData = _iCrypto.TransformFinalBlock(_byteData, 0, _byteData.Length);
return Encoding.Default.GetString(_decryptedData);
Remember to change the key and IV in the constructor of the Crypto class, key must be between 16-24 characters long. -
ADS with password encrytion for PDf docs
Hello,
I have just installed AS Java and set up ADS, it is working just perfectly,
We have a requirement to encrypt the PDF (payslips) using password, we already have the required s/w codes integrated in SAP which encrypts and delivers the payslips thru email to the users, but just that once the PDF is encrytped and send to the user thru email, we are unable to open the PDF document, error pops up as below, whereas unencrypted PDF forms just get delivered and are able to open without any issues.
Only encryption does not work, please guide what should be the approach to be followed here?
There is no requirement to edit the forms so interactive adobe forms and reader right credentials are not requested from SAP.
Kindly guide..Hi balaji,
as far as I know it is not supported. Here is a blog with a workaround:
PDF with Password protection
~Florian
Maybe you are looking for
-
Facebook and Twitter app on iphone 5s
I downloaded the facebook and twitter app on my iphone 5s and selected their respective notification sounds in the Settings but, even after that, I did not receive any notification sound whatsoever either for FB or twitter. After sifting through, I c
-
How to get the file name dialog on the selection screen
Hi All I have a selection screen in which there is a parameter where I need to enter file name. Instead of typing filename in the parameter I would like to give a path from presentation server ( I am downloading Data to presentation server ). How to
-
What is the reason for so many Drop Zones in iDVD?
Thank you Tboake and Terry for helping with my project. Now I am convinced that to create my show which mixes pictures, Text, movie clips and music, as well all the other effects, iDVD is the right way to start. However I have a question regarding th
-
Yahoo Answers search results won't connect from Google search
When I do a Google search that has a result from Yahoo Answers, if I click the link in Firefox I can't connect to it, but I can from Chrome, IE, Safari, etc... For example I did a Google search for "yahoo answers" so that the general home page was th
-
Mavericks multiple iCloud emails stopped working
The iCloud settings for my Apple Mail iCloud accounts have changed, not with any interaction from me. Now only one of the four iCloud accounts I have attached to my Mail client is working. I've had these accounts since the .Mac "Family Account" day