Not asked for password while opening the pdf file

Jul 9, 2014 at 9:52 AM
Edited Jul 9, 2014 at 9:52 AM
I used the following code. I was not asked with the password when I open the hello.pdf. Do I need to configure anything else? Is OwnerPassword meant for the password that will be asked while opening the file?
        var pdfRenderOptions = new PdfRendererOptions();
        pdfRenderOptions.Author = "XXXXX";
        pdfRenderOptions.Title = "Hello World";
        pdfRenderOptions.Subject = "Hello World";
        pdfRenderOptions.EnableModify = false;
        pdfRenderOptions.EnableAdd = false;
        pdfRenderOptions.EnableCopy = false;
        pdfRenderOptions.EnablePrinting = true;

        pdfRenderOptions.OwnerPassword = "hello";

        var driver = FonetDriver.Make();
        driver.Options = pdfRenderOptions;
        driver.Render("hello.fo", "hello.pdf");
        Console.ReadLine();
Jul 9, 2014 at 10:19 AM
Edited Jul 9, 2014 at 10:20 AM
Now I am able to get the password popup while opening the pdf file. Need to set options.UserPassword. But I dont understand the owner password. Can anyone give more explanation on OwnerPassword?