Client side PDF encryption at time of creation - encryption

I am using React PDF and to create and export PDF documents.
I want to be able to have the user upload contents to their client side cache, and then serve back the content in a password protected encrypted PDF file.
I do not want them to upload files to the server.
Are there any free, open source solutions to achieve client side PDF encryption / password protection?
The PDF would be generated on browser including phones / iOS and tablets and desktops.

Related

Cannot download PDF stored in Firebase storage using download URL

I uploaded a PDF file to firebase storage and I clicked on the generated Access Token to copy the download URL. I pasted the download URL in the web browser and the PDF opens in the browser. But I actually want the PDF to download instead of opening in the browser. I tried this with other file types such as zip files and when I paste the download URL on the browser it begins to download. I wonder why PDF's do not download?
PDF stored in firebase storage
Getting download URL from access token
Is there any way to make the PDF itself downloadable without compressing it?

cannot access pdf using public url uploaded on cloudinary

I am trying to access pdf using public url uploaded on cloudinary however url request has been successfully completed but nothing showed.
Permission : Blocked for delivery shows in properties of pdf on cloudinary
Based on a recent update to our security policies, we've restricted delivery on newly created Free accounts for PDFs and Archive files. Such files can still be uploaded, but the restriction is specifically on delivery.
For PDFs that are uploaded with resource_type - "image", as they support transformations, they can be converted to images and will be delivered - e.g. by using the page transformation (pg_ in URLs) and setting the extension to jpg. -
in javascript we just need to replace extension to .jpg
response?.data?.url.replace(".pdf", ".jpg")
source
If you are on a free plan and need to deliver files in these formats, you can navigate to the Security tab of Settings in the Management Console and select to 'Allow delivery of PDF and ZIP files' or find it at the bottom.

Prompt Save dialog box while downloading blob from azure storage

I have an ASP.NET web application to download blobs from my azure storage. When I use blockBlob.DownloadToStream(fileStream); it automatically downloads it to the project location when run the web aplication in local machine. But if I want to deploy this web aplication in cloud, How can I get a dialog box to save the blobs to be dowloaded ?
There are two things you could do:
Set the content-type property of the blob to application/octet-stream or don't set the content type of the blob at all. While this approach may work in most of the browsers but not in all. IE is quite smart about this would actually try to read the file type from the file stream and decides if to display the file in the browser or to prompt "Save As".
Download the blob first on your web server and then serve that file by setting the Content Disposition response header value to something like `attachment; filename="Your file name"'.

open docx file server in client and edit by user

I use ASP.Net for programing web application and have a number of files on the server.
I want the user to click on the button, open the docx file in server in ms Word client.
and edit text by user in ms Word client and save file (text) in server.
please help me.
Put the Word documents on a network share, then link to them (Some document). Users will open them in Word and Word will save them to the same location.
I recommend enabling Volume Shadow Copy on the file server to ensure that you have previous versions of the file in case a user accidentally deletes the file or damages it.
The "proper", Microsoft-sanctioned solution is to deploy SharePoint, at tremendous cost to your organisation. It includes built-in web-based Office apps.

Form upload queries

I am a newbie and have a requirement to upload ~2GB files via form upload.
I am unsure whether the 2GB file will be received as a whole on the "action URL" - (http://localhost:49980/videoupload.aspx) page or will it be received in parts/chunks?
Thanks in advance for clarifying!
Firstly Increasing the Maximum Upload Size
The 4MB default is set in machine.config, but you can override it in you web.config. For instance, to expand the upload limit to 20MB, you'd do this:
Then upload your file in chunk of bytes. ASP.Net: Writing chunks of file..HTTP File upload with resume and Upload Large Files in ASP.NET Using HttpModule.
you can go for this: Recommendations for best ASP.NET file upload tool
For Reference:
Streaming large file uploads to ASP.NET MVC
Multiple File Upload With Progress Bar Using Flash and ASP.NET
Upload large files in .NET

Resources