I just use the apache guacamole extension (guacamole-client-master/doc/guacamole-branding-example) for the html edit. Is this format ok, I am missing anything?
here is the html replace code: *<meta name="replace" content=".settings.section.sessions">* *<div class="welcome" *ng-class="{loading: !isLoaded()}"> <!-- User Session management --> <p>{{'SETTINGS_SESSIONS.HELP_SESSIONS' | translate}}</p> <!-- Form action buttons --> <div class="action-buttons"> <button class="delete-sessions danger" ng-disabled="!canDeleteSessions()" ng-click="deleteSessions()">{{'SETTINGS_SESSIONS.ACTION_DELETE' | translate}}</button> </div> <!-- Session filter --> <guac-filter filtered-items="filteredWrappers" items="wrappers" placeholder="'SETTINGS_SESSIONS.FIELD_PLACEHOLDER_FILTER' | translate" properties="filteredWrapperProperties"></guac-filter> <!-- List of current user sessions --> <table class="sorted session-list"> <thead> <tr> <th class="select-session"></th> <th guac-sort-order="wrapperOrder" guac-sort-property="'activeConnection.username'"> {{'SETTINGS_SESSIONS.TABLE_HEADER_SESSION_USERNAME' | translate}} </th> <th guac-sort-order="wrapperOrder" guac-sort-property="'startDate'"> {{'SETTINGS_SESSIONS.TABLE_HEADER_SESSION_STARTDATE' | translate}} </th> <th guac-sort-order="wrapperOrder" guac-sort-property="'activeConnection.remoteHost'"> {{'SETTINGS_SESSIONS.TABLE_HEADER_SESSION_REMOTEHOST' | translate}} </th> <th guac-sort-order="wrapperOrder" guac-sort-property="'name'"> {{'SETTINGS_SESSIONS.TABLE_HEADER_SESSION_CONNECTION_NAME' | translate}} </th> </tr> </thead> <tbody> <tr ng-repeat="wrapper in wrapperPage" class="session"> <td class="select-session"> <input ng-change="wrapperSelectionChange(wrapper)" type="checkbox" ng-model="wrapper.checked"> </td> <td><guac-user-item username="wrapper.activeConnection.username"></guac-user-item></td> <td>{{wrapper.startDate}}</td> <td>{{wrapper.activeConnection.remoteHost}}</td> *<td><a ng-href="#">{{wrapper.name <http://wrapper.name>}}</a></td>* </tr> </tbody> </table> On Wed, Jun 1, 2022 at 8:41 PM Suat Toksöz <stok...@gmail.com> wrote: > Thanks Nick, > > Then how can I modify the apache guacamole client , so no one can access > to active session link from outside. > > On 1 Jun 2022, at 20:34, Nick Couchman <vn...@apache.org> wrote: > > > On Wed, Jun 1, 2022 at 12:54 PM Suat Toksöz <stok...@gmail.com> wrote: > >> So, what is your suggestion for me to edit admin active session tab? >> >> > Creating a custom extension and using the HTML replace functionality is > the best way to make sure that your changes are future-proof - the base of > Guacamole Client can stay unmodified, which means upgrades won't require > any re-application of changes. > > That said, you should be advised that simply hiding the HTML link for the > admin doesn't mean that that the functionality is disabled - someone with > knowledge of the Guacamole code and how the links are generated could > retrieve the link and access the session, anyway. Removing the HTML link is > just "security by obscurity." > > -Nick > >> -- Best regards, *Suat Toksöz*