eirped Posted January 14, 2019 Report Share Posted January 14, 2019 Hello! I'm a new user of TNG (v12) and I have a question about documents. I want my TNG site to be password protected, but I want to be able to share pdf-documents with people with a login/user account, preferably without having to re-type login/password. I tried uploading a few pdf-documents through the media import function in TNG admin. However, when I enter the direct URL for the pdf-document I was able to view it without being logged in. I've set the privacy settings to "require login" and "restrict access to assigned tree". Will uploaded documents (and photos, I guess) be "open" for everyone with the URL, or is there a way to protect the documents in a way that you have to be logged in to view them? I tried searching in the forum to see whether someone else has asked about this before. I found this: That's the exact same question as mine. He was advised to code the reports within TNG. I thought that was what I did. Could someone please tell me how to do this? Thanks, Eirik Quote Link to comment Share on other sites More sharing options...
eirped Posted January 14, 2019 Author Report Share Posted January 14, 2019 Thanks for your reply. I tried uploading an image as well, just for testing, but the same happened. I could access the image via the URL without logging in. I haven't tried any mods yet, but I guess that might be a solution. Eirik Quote Link to comment Share on other sites More sharing options...
eirped Posted January 14, 2019 Author Report Share Posted January 14, 2019 I understand. I didn't realize TNG made another URL as well. Thank you so much for your help! I might try the mod later. Sounds like a good idea. Thanks, Eirik Quote Link to comment Share on other sites More sharing options...
stores Posted January 14, 2019 Report Share Posted January 14, 2019 Just as a follow on... I just tried accessing jpg photos on my site which requires one to log in and the log in screen popped as expected but when i tried to access a pdf file, it came right up, but then i knew the path of where the pdf is... Quote Link to comment Share on other sites More sharing options...
Kare Posted January 14, 2019 Report Share Posted January 14, 2019 Jim, do you block many from accessing your site? Quote Link to comment Share on other sites More sharing options...
stores Posted January 14, 2019 Report Share Posted January 14, 2019 Kare, i have a closed site, just for family... Not sure what you mean by do i block many? Quote Link to comment Share on other sites More sharing options...
Kare Posted January 14, 2019 Report Share Posted January 14, 2019 16 timer siden, stores skrev: Kare, i have a closed site, just for family... Not sure what you mean by do i block many? See the message ‘no permission to access server’. How do you set that up?... how does your system find the ip addresses that should have no access to your home page? Quote Link to comment Share on other sites More sharing options...
stores Posted January 14, 2019 Report Share Posted January 14, 2019 Kare, no idea why you can't see the front page as the front page should be visible to all except for those that i have banned the ip address for via cPanel as i ban ip ranges for ip addresses i find that hit the one public page https://www.josephoranholtz.com/names/johnamesindex.php ... i have on the site too many times and i also ban ip's for ranges when i see via cPanel a particular ip address is trying to find a way in... Quote Link to comment Share on other sites More sharing options...
Kare Posted January 14, 2019 Report Share Posted January 14, 2019 Hehe Jim, you must have banned me... I would have loved to know why.... Quote Link to comment Share on other sites More sharing options...
stores Posted January 14, 2019 Report Share Posted January 14, 2019 Kare, if i did it was not intentional, perhaps your ip address fell within a range i banned and it was not recently as i don't recall any Norway bans lately, usually China, Japan and Vietnam that try getting in to the site with WordPress related searches and i don't have a WordPress site... Quote Link to comment Share on other sites More sharing options...
Mikh Posted January 15, 2019 Report Share Posted January 15, 2019 Just as info. I live in Germany and tried accessing your URL (https://www.josephoranholtz.com) and get the following error: "Forbidden. You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request." Quote Link to comment Share on other sites More sharing options...
stores Posted January 15, 2019 Report Share Posted January 15, 2019 Thank you for the info, i guess i will have to look into this as the home page should be visible to most...? Quote Link to comment Share on other sites More sharing options...
Kare Posted January 15, 2019 Report Share Posted January 15, 2019 Jim, I was able to see your home page yesterday evening, but today it is back to «no permission».... You should have a look at your setup... Quote Link to comment Share on other sites More sharing options...
stores Posted January 15, 2019 Report Share Posted January 15, 2019 Will do, thanks... Put it on my to do list... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.