Project

General

Profile

Actions

Support #5700

closed

Is it possible to access through SFTP to Apache 'www' dir of D4science published web-apps

Added by Emmanuel Blondel almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
Nov 09, 2016
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

For user that publish/maintain web-apps published to D4science Apache http (users that are consequently 'webmasters'), e.g. using the Dataminer web-publisher: can they have access to public html dir through SFTP?

Related to this, I'd like to know if/how these resource admin roles are taken into account in the infrastructure policies? here i point out the need of accessing Apache 'wwww' dir for webmaster role, but i'm sure they are other cases.

Thanks a lot

Actions #1

Updated by Pasquale Pagano almost 9 years ago

  • Assignee set to Andrea Dell'Amico

Assigned to Andrea but I am not sure he can really answer. @gianpaolo.coro@isti.cnr.it can say maybe more.

I believe that it is not possible since the authentication is based on token and not un username and password and we cannot enable token authorization on SFTP. More in general, by using Dataminer web-publisher, the user does not know (and in our vision he has not to know) details on the real server serving his request.

I believe that we should instead implement it in a different way (if it makes sense to GP as well). We should allow people to use the workspace to add/edit files of the public html site. From the workspace then, he should be able to press the button 'publish' that does the job by porting the content on the site. This is possible with a limited effort having most of the technologies already available.

What do you think?

Actions #2

Updated by Pasquale Pagano almost 9 years ago

  • Status changed from New to Closed

I just see that there is a similar discussion on #5447 and that @gianpaolo.coro@isti.cnr.it proposes the same solution I am proposing. I am closing this ticket. If I am wrong please feel free to reopen it.

Actions #3

Updated by Pasquale Pagano almost 9 years ago

  • Status changed from Closed to In Progress

Sorry, the discussion is the same on #5447 but that ticket is closed. I am going to reopen this one and I invite @gianpaolo.coro@isti.cnr.it to confirm that his solution is going to be realised by linking the ticket of type task to this one. Sorry for the confusion I introduced.

Actions #4

Updated by Gianpaolo Coro almost 9 years ago

  • Status changed from In Progress to Closed

Sorry, the correct ticket that should solve this issue is #5699

Actions #5

Updated by Emmanuel Blondel almost 9 years ago

my apologies actually, i've opened a new ticket because i realized that the support was quite different from #5447.

About "More in general, by using Dataminer web-publisher, the user does not know (and in our vision he has not to know) details on the real server serving his request.":

for sure i'm only talking about the Apache public directory ('www'), not the Apache http server root dir. But honestly if you can have this access through the workspace as i initially suggested, and what you mentioned above, this would be yet really great and would make web-app publication easier.

Thanks for following up.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)