<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="padding-bottom: 10px; padding-top: 5px;">
<div style="padding:12px; border:1px solid #8D3970; background-color:#F7F9FA; color:#8D3970; font-size:14px; line-height:22px; font-family: Calibri, Arial, Helvetica, sans-serif;">
<strong>CAUTION:</strong> This e-mail originated outside the University of Southampton.
</div>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi James,<br>
By default I don't think there is a way (can't recall seeing this) - but here's some possible options:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
- write a simple cgi script in ~/archives/ARCHIVEID/cgi/users/ and use a phrase to display the page</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
- write a cgi script that calls a screen plugin that checks for a user using normal screen methods</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
- create a folder e.g. ~/archives/ARCHIVEID/cfg/lang/en/static/users/ and create a URL rewrite trigger that matches that path. The trigger would return 'OK' if there is a user present, or 'AUTH_REQUIRED' (401) if not.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Some are less 'xpage'y - so if the plan was that someone else has editorial rights over the content of that page, the last one would probably be best.<br>
I think the middle one is the most EPrints-y, and the first is most hacky...</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Does any of that help?<br>
Cheers,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
John</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> eprints-tech-bounces@ecs.soton.ac.uk &lt;eprints-tech-bounces@ecs.soton.ac.uk&gt; on behalf of James Kerwin via Eprints-tech &lt;eprints-tech@ecs.soton.ac.uk&gt;<br>
<b>Sent:</b> 25 January 2021 09:17<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk &lt;eprints-tech@ecs.soton.ac.uk&gt;<br>
<b>Subject:</b> [EP-tech] Static Page - Log In</font>
<div>&nbsp;</div>
</div>
<div>
<div style="padding-bottom:10px; padding-top:5px">
<div style="padding:12px; border:1px solid #8D3970; background-color:#F7F9FA; color:#8D3970; font-size:14px; line-height:22px; font-family:Calibri,Arial,Helvetica,sans-serif">
<strong>CAUTION:</strong> This e-mail originated outside the University of Southampton.
</div>
</div>
<div>
<div dir="ltr">Hi All,<br>
<div><br>
</div>
<div>Hope we're all happy and healthy.</div>
<div><br>
</div>
<div>I've been given a task and one option to complete it is to display information on a static page in EPrints. Due to the potentially sensitive nature of the data I was wondering if it's possible to have a static page in EPrints that requires the user to
 be logged in to EPrints to see it?</div>
<div><br>
</div>
<div>I've had a quick look around and looked at all my &quot;.xpage&quot; files and I have no examples. I feel like it isn't possible, but thought it would be best to ask.</div>
<div><br>
</div>
<div>If it isn't possible I have some other approaches&nbsp;to take. They will just take longer and my brain is already a bit scrambled after working out the LibCal API.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>James</div>
</div>
</div>
</div>
</div>
</body>
</html>