When I export from Indesign I would like to maintain a high quality (eg 300dpi resolution), but I do not want anyone can open with illustrator my pdf and can move objects like I was back in the indesign project.
There is a way to do this?
As far as I'm aware, other than password protecting the PDF (which can easily be circumvented), only raster-based PDFs would prevent easy editing of otherwise easily edited content such as text or vector objects.
Of course, even raster-based PDFs can be opened in an image editor such as Photoshop and manipulated as images. But in general editing raster-based PDFs can be much more of a chore than editing customary raster+vector based PDFs which InDesign and Illustrator both generate.
Simply, save or export the pages as jpg or tiff, then build a PDF from those images.
You can drag a group of jpgs to Acrobat to generate a PDF. Or use
File > Create > Combine Files into Single PDF... within Acrobat Pro to generate a PDF from multiple images/files.
There's no way, which I'm aware of, from within Illustrator or InDesign to generate a raster image only based PDF upon output. Unless, of course, your document is entirely raster based.
Within Illustrator, you could select all and choose
Object > Rasterize then save as a PDF. (Then undo to reverse the rasterization.)
You can easily restrict these things in the export dialogue under the Security Settings.
When saving as PDF, you can add password protection and security restrictions, limiting not only who can open the file, but also who can copy or extract contents, print the document, and more.
A PDF file can require passwords to open a document (document open password) and to change security settings (permissions password). If you set any security restrictions in your file, you should set both passwords; otherwise, anyone who opens the file could remove the restrictions. If a file is opened with a permissions password, the security restrictions are temporarily disabled.
The RC4 method of security from RSA Corporation is used to password-protect PDF files. Depending on the Compatibility setting (in the General category), the encryption level will be high or low.
Use A Password To Restrict Printing, Editing And Other Tasks Restricts access to the PDF file’s security settings. If the file is opened in Adobe Acrobat, the user can view the file but must enter the specified Permissions password in order to change the file’s Security and Permissions settings. If the file is opened in Illustrator, Adobe Photoshop, or Adobe InDesign, the user must enter the Permissions password, since it is not possible to open the file in a view-only mode.
I might have the answer for you. There are a couple of steps but what you're wanting can be achieved in InDesign. Be aware that it does bloat your files though (all image no vector).
Put simply, step 1 tells InDesign that you want a flattener preset to convert everything to raster images. Step 2 is the catalyst, typically the transparency flattener only works on raster images placed into InDesign so what you're doing is forcing the flattener to work over the entire page by placing in an object at 0% transparency (don't worry you won't see it in your artwork). Step 3 then selects the flattener preset on export and sets the resolution of the raster graphics.
Take a look at the PDF after export, if you have Acrobat, click the Edit Text & Images (Pro XI) and you'll see that the flattener has chopped the entire page up into separate images.
You can also use this trick when protecting imagery in PDF's that you don't want pinched easily, it adds a lot more work to the thief.
You might have to play with the settings to achieve the quality you want but there's always a trade-off vs file size. This does what you need though.
EDIT Oh and if you're wanting total and complete security for your PDF, take a look at Certificate Encryption:
An easy way is to use Adobe Acrobat Pro to convert all your PDF pages into JPG WITHIN the PDF; this way you won't have to waste time assembling again your pages together.
You can create your PDF as you normally do in InDesign and then use the Preflight function in Acrobat Pro to convert all your pages to images by creating a custom profile for it.
Here's a tutorial with screenshots on how to do it:
Additionally, yes you can also add a security password that prevent any editing but this method above will flatten and rasterize all your vectors already.
Take all your final graphics, run them through pathfinder in Illustrator so there is no overlap... any manipulation will botch the doc. People could still grab shapes and export them, but if they simply try to manipulate the doc, they will leave holes in the background and such when they move something around.