I have a slight issue when trying to display a pdf file which has been created by yii which is stored within the protected directory, they are in that directory because they need to be emailed.
Can’t seem to get them to embed within a view, this is the code I am using:
You should publish that pdf with CClientScript, thats the idea behind it, make things accessible, but i guess it depends on your business logic, you can also create a "pdfs" folder outside the protected folder and store those pdfs there.