I want to sell my e-books directly to people, but prevent them from sharing files with their friends to avoid piracy. Is there any way to password protect the PDF file so that it can only be opened in one computer?

If I buy encrypt pdf for my ebook, can I sell my ebook freely as encrypted copies?

Customer
-----------------------

image
Thanks for your message, EncryptPDF software is not enough to protect PDF files from sharing, you need to use VeryPDF DocSafe Cloud application, this application can be used from this web page,

http://drm.verypdf.com/online/

You can upload a local PDF file or enter a URL for an online PDF file, set some DRM protection options, then you can protect your PDF file easily.

The DRM protected PDF file can be viewed by VeryPDF DRM Reader, which can be downloaded from this web page,

http://drm.verypdf.com/downloads/

If you wish integrate VeryPDF DocSafe Cloud API into your web application, you may find the options for VeryPDF DocSafe Cloud from this web page,

http://drm.verypdf.com/verypdf-pdfdrm-cloud-api-include-c-curl-java-javascript-php-vb-net-examples/

for example, you can use following simple PHP code to convert your eBook PDF file to a DRM protected PDF file, you can adjust these options to best meet your requirements,

<?php
//The Code
/* gets the data from a URL */
function get_data($url)
{
    $ch = curl_init();
    $timeout = 5;
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $data = curl_exec($ch);
    curl_close($ch);
    return $data;
}

//The Usage
$strVeryPDFCloudAPI_URL  = “http://online.verypdf.com/app/pdfdrm/web/upload.php?”;
$strVeryPDFCloudAPI_URL .= “InputFileType=WebURL”;
$strVeryPDFCloudAPI_URL .= “&WebFileURL=http://online.verypdf.com/examples/cloud-api/verypdf2.pdf”;
$strVeryPDFCloudAPI_URL .= “&Email=support@verypdf.com”;
$strVeryPDFCloudAPI_URL .= “&PasswordForInputPDFFile=123”;
$strVeryPDFCloudAPI_URL .= “&UserPassword=1oOJ54c75sM27b6t”;
$strVeryPDFCloudAPI_URL .= “&OwnerPassword=4Zyq457dccbV0Q5D”;
$strVeryPDFCloudAPI_URL .= “&PDFCompatibility=6”;
$strVeryPDFCloudAPI_URL .= “&perm_allowprinting=on”;
$strVeryPDFCloudAPI_URL .= “&perm_modify=on”;
$strVeryPDFCloudAPI_URL .= “&perm_high_quality_printing=on”;
$strVeryPDFCloudAPI_URL .= “&perm_allow_comment=on”;
$strVeryPDFCloudAPI_URL .= “&perm_fill_forms=on”;
$strVeryPDFCloudAPI_URL .= “&perm_content_extraction=on”;
$strVeryPDFCloudAPI_URL .= “&perm_document_assembly=on”;
$strVeryPDFCloudAPI_URL .= “&perm_copy_content=on”;
$strVeryPDFCloudAPI_URL .= “&perm_clearText_metadata=on”;
$strVeryPDFCloudAPI_URL .= “&perm_accessibility=on”;
$strVeryPDFCloudAPI_URL .= “&linearize=on”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_IsNeedInternet=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_ClientTimeZone=0”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_LogonID_01=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_LogonID_01=Demo”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_Password_01=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_Password_01=Demo”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_ExpireAfterDate=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_ExpireAfterDate=” . urlencode(‘2018/03/21 12:10’);
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_DenyPrint=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_DenyClipCopy=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_DenySave=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_DenySaveAs=ON”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_SetIdleTime=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_SetIdleTime=300”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_CloseAfterSeconds=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_CloseAfterSeconds=300”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_TitleOfMessage=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_TitleOfMessage=VeryPDF+DRM+Reader”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_DescriptionOfMessage=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_DescriptionOfMessage=”;
$strMessage = “Welcome to use VeryPDF DRM Reader, if you have any question for this document, please feel free contact us at ‘support@verypdf.com’ email address.”;
$strVeryPDFCloudAPI_URL .= urlencode($strMessage);
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_ExpireAfterViews=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_ExpireAfterViews=10”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_ExpirePrintCount=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_ExpirePrintCount=10”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_SetInvalidPWCount=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_SetInvalidPWCount=10”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_PDFExpiryDelete=ON”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_LimitDiskID=”;
$strVeryPDFCloudAPI_URL .= “&Check_VeryPDFDRM_LimitIP=OFF”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_LimitIP=85.245.137.170”;
$strVeryPDFCloudAPI_URL .= “&VeryPDFDRM_LimitUSBDriveID=”;
$strVeryPDFCloudAPI_URL .= “&TextWatermark_Text=VeryPDF”;
$strVeryPDFCloudAPI_URL .= “&TextWatermark_Color=FF0000”;
$strVeryPDFCloudAPI_URL .= “&TextWatermark_X=1”;
$strVeryPDFCloudAPI_URL .= “&TextWatermark_Y=1”;
$strVeryPDFCloudAPI_URL .= “&TextWatermark_OffsetX=0”;
$strVeryPDFCloudAPI_URL .= “&TextWatermark_OffsetY=0”;
$strVeryPDFCloudAPI_URL .= “&TextWatermark_FontName=Arial”;
$strVeryPDFCloudAPI_URL .= “&TextWatermark_FontSize=0”;
$strVeryPDFCloudAPI_URL .= “&TextWatermark_Opacity=50”;
$strVeryPDFCloudAPI_URL .= “&TextWatermark_Rotate=45”;
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_File=” . urlencode(‘https://www.verypdf.com/images/coffee.jpg’);
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_X=1”;
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_Y=1”;
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_OffsetX=0”;
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_OffsetY=0”;
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_Width=0”;
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_Height=0”;
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_Scale=100”;
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_Opacity=50”;
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_Rotate=0”;
$strVeryPDFCloudAPI_URL .= “&ImageWatermark_TransparentColor=000000”;
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_File=” . urlencode(‘https://www.verypdf.com/images/pdf/StandardBusiness.pdf’);
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_PDFPage=1”;
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_X=1”;
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_Y=1”;
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_OffsetX=0”;
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_OffsetY=0”;
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_Width=100”;
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_Height=100”;
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_Scale=100”;
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_Opacity=50”;
$strVeryPDFCloudAPI_URL .= “&PDFWatermark_Rotate=0”;
$strVeryPDFCloudAPI_URL .= “&LineWatermark_X1=0”;
$strVeryPDFCloudAPI_URL .= “&LineWatermark_Y1=100”;
$strVeryPDFCloudAPI_URL .= “&LineWatermark_X2=1000”;
$strVeryPDFCloudAPI_URL .= “&LineWatermark_Y2=100”;
$strVeryPDFCloudAPI_URL .= “&LineWatermark_Opacity=50”;
$strVeryPDFCloudAPI_URL .= “&LineWatermark_Rotate=0”;
$strVeryPDFCloudAPI_URL .= “&LineWatermark_Width=20”;
$strVeryPDFCloudAPI_URL .= “&LineWatermark_Color=FF0000”;

$returned_content = get_data($strVeryPDFCloudAPI_URL);
echo $returned_content;
?>

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!