Andrew McNab - SlashGrid, HTTPS, fileGridSite SlashGrid, HTTPS and fileGridSite 30 October 2002 Andrew McNab, University of Manchester

Slides:



Advertisements
Similar presentations
30-31 Jan 2003J G Jensen, RAL/WP5 Storage Elephant Grid Access to Mass Storage.
Advertisements

Security middleware Andrew McNab University of Manchester.
DataGrid is a project funded by the European Union CHEP 2003 – March 2003 – Grid-based access control – n° 1 Grid-based access control for Unix environments,
Andrew McNabTestbed / HTTPS, GridPP6, 30 Jan 2003Slide 1 UK Testbed Status Andrew McNab High Energy Physics University of Manchester.
29 June 2006 GridSite Andrew McNabwww.gridsite.org VOMS and VOs Andrew McNab University of Manchester.
The GridSite Toolbar Shiv Kaushal The University of Manchester All Hands Meeting 2006.
Andrew McNab - Manchester HEP - 2 May 2002 Testbed and Authorisation EU DataGrid Testbed 1 Job Lifecycle Software releases Authorisation at your site Grid/Web.
Andrew McNab - Manchester HEP - 31 January 2002 Testbed Release in the UK Integration Team UK deployment TB1 Job Lifecycle VO: Authorisation VO: GIIS and.
Chapter 17: WEB COMPONENTS
Middleware technology and software quality issues Andrew McNab Grid Security Research Fellow University of Manchester.
Andrew McNab - EDG Access Control - 14 Jan 2003 EU DataGrid security with GSI and Globus Andrew McNab University of Manchester
The GridSite Security Framework Andrew McNab University of Manchester.
20 March 2007 VOMS etc Andrew McNabwww.gridsite.org VOMS etc Andrew McNab University of Manchester.
30-Jan-03D.P.Kelsey, GridPP Security1 Security GridPP6 30 Jan 2003 Coseners House David Kelsey CLRC/RAL, UK
Copyright B. Wilkinson, This material is the property of Professor Barry Wilkinson (UNC-Charlotte) and is for the sole and exclusive use of the students.
Data Grid Web Services Chip Watson Jie Chen, Ying Chen, Bryan Hess, Walt Akers.
Web Servers Web server software is a product that works with the operating system The server computer can run more than one software product such as .
Andrew McNab - Manchester HEP - 5 March 2002 SlashGrid (“/grid”) Motivation: dynamic-accounts issues Local storage: implementation alternatives Generalisation:
10 May 2007 HTTP - - User data via HTTP(S) Andrew McNab University of Manchester.
Andrew McNab - GACL - 16 Dec 2003 Grid Access Control Language Andrew McNab, University of Manchester
3 May 2006 GridSite Andrew McNabwww.gridsite.org Web Services for Grids in Scripts and C using GridSite Andrew McNab University of.
Andrew McNab - EDG Access Control - 17 Jan 2003 EDG Site Access Control (ie Local Authorisation and Accounts) Andrew McNab, University of Manchester
Andrew McNab - Manchester HEP - 26 June 2001 WG-H / Support status Packaging / RPM’s UK + EU DG CA’s central grid-users file grid “ping”
Andrew McNab - Manchester HEP - 29 January 2002 SlashGrid (“/grid”) Motivation: dynamic-accounts issues Local storage: implementation alternatives Generalisation:
Andrew McNab - GridPP Security - 24 Feb 2003 GridPP Security Middleware Andrew McNab, University of Manchester
Andrew McNab - GridSite/G-HTTPS - 17 Feb 2003 GridSite and G-HTTPS update Andrew McNab, University of Manchester
Grid Security work in 2006 Andrew McNab Grid Security Research Fellow University of Manchester.
Ákos FROHNER – DataGrid Security Requirements n° 1 Security Group D7.5 Document and Open Issues
The GridSite Security System Andrew McNab and Shiv Kaushal University of Manchester.
Andrew McNab - Access Control - 28 May 2002 Access Control and User Management (ie Local Authorisation and Accounts) Andrew McNab, University of Manchester.
EU DataGrid (EDG) & GridPP Authorization and Access Control User VOMS C CA 2. certificate dn, ca, key 1. request 3. certificate 4. VOMS cred: VO, groups,
Andrew McNabETF Firewall Meeting, NeSC, 5 Nov 2002Slide 1 Firewall issues for Globus 2 and EDG Andrew McNab High Energy Physics University of Manchester.
Author - Title- Date - n° 1 Partner Logo WP5 Summary Paris John Gordon WP5 6th March 2002.
Andrew McNab - GridSite/EDG/GGF - 29 Sept 2003 GridSite, EDG and GGF Andrew McNab, University of Manchester
EDG Security European DataGrid Project Security Coordination Group
Grid Security in a production environment: 4 years of running Andrew McNab University of Manchester.
Andrew McNab - Security - 1 July 2003 Security: Authorization, Access Control and Usage Control Andrew McNab, University of Manchester
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
Andrew McNab - Grid HTTP/HTTPS extensions Grid HTTP/HTTPS extensions 18 November 2002 Andrew McNab, University of Manchester
GridSite Web Servers for bulk file transfers & storage Andrew McNab Grid Security Research Fellow University of Manchester, UK.
EGEE User Forum Data Management session Development of gLite Web Service Based Security Components for the ATLAS Metadata Interface Thomas Doherty GridPP.
Andrew McNab - EDG Access Control - 4 Dec 2002 EDG Access Control and User Management (ie Local Authorisation and Accounts) Andrew McNab, University of.
Andrew McNabSecurity Middleware, GridPP8, 23 Sept 2003Slide 1 Security Middleware Andrew McNab High Energy Physics University of Manchester.
OSG AuthZ components Dane Skow Gabriele Carcassi.
Owen Synge and Shaun De Witt HTTP as a better file transfer protocol default for SRM Slide 1 HTTP as a better file transfer protocol default for SRM By.
Andrew McNabGrid in 2002, Manchester HEP, 7 Jan 2003Slide 1 Grid Work in 2002 Andrew McNab High Energy Physics University of Manchester.
Andrew McNab - EDG Access Control - 17 Jun 2003 EU DataGrid and GridPP Authorization and Access Control Andrew McNab, University of Manchester
VO Box Issues Summary of concerns expressed following publication of Jeff’s slides Ian Bird GDB, Bologna, 12 Oct 2005 (not necessarily the opinion of)
Security Middleware 3 June 2004 Security Middleware Current Status – GridSite deployments – Architecture GridPP2 – Web services.
Andrew McNab - Security issues - 17 May 2002 WP6 Security Issues (some personal observations from a WP6 and sysadmin perspective) Andrew McNab, University.
Andrew McNab - Security issues - 4 Mar 2002 Security issues for TB1+ (some personal observations from a WP6 and sysadmin perspective) Andrew McNab, University.
Andrew McNabGrid Certs, Manchester HEP, 8 Nov 2002Slide 1 What can you do with a Grid Certificate? Andrew McNab High Energy Physics University of Manchester.
GRID Security & DIRAC A. Casajus R. Graciani A. Tsaregorodtsev.
Security Middleware Andrew McNab University of Manchester.
Andrew McNab - HTTP/HTTPS extensions HTTP/HTTPS as Grid data transport 6 March 2003 Andrew McNab, University of Manchester
Andrew McNab - Dynamic Accounts - 2 July 2002 Dynamic Accounts in TB1.3 What we could do with what we’ve got now... Andrew McNab, University of Manchester.
WP3 Security and R-GMA Linda Cornwall. WP3 UserVOMS service authr map pre-proc authr LCAS LCMAPS pre-proc LCAS Coarse-grained e.g. Spitfire WP2 service.
Ákos FROHNER – DataGrid Security n° 1 Security Group TODO
SESEC Storage Element (In)Security hepsysman, RAL 0-1 July 2009 Jens Jensen.
Storage Element Security Jens G Jensen, WP5 Barcelona, May 2003.
Overview of the New Security Model Akos Frohner (CERN) WP8 Meeting VI DataGRID Conference Barcelone, May 2003.
Andrew McNabSlashGrid/GFS BOF, GGF9, 7 Oct 2003Slide 1 SlashGrid = “/grid” Andrew McNab High Energy Physics University of Manchester
GridSite status Andrew McNab University of Manchester.
INFSO-RI Enabling Grids for E-sciencE GUMS vs. LCMAPS Oscar Koeroo.
Classic Storage Element
Third Party Transfers & Attribute URI ideas
John Gordon EDG Conference Barcelona, May 2003
EE 122: HyperText Transfer Protocol (HTTP)
Shiv Kaushal, University of Manchester
Presentation transcript:

Andrew McNab - SlashGrid, HTTPS, fileGridSite SlashGrid, HTTPS and fileGridSite 30 October 2002 Andrew McNab, University of Manchester

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 Overview u SlashGrid framework u certfs filesystem u GACL Access Control Lists u HTTPS u fileGridSite HTTPS server u fileGridSite examples with curl u curlfs for SlashGrid u “G-HTTPS” u HTTP(S) as data protocol too? u Summary

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 SlashGrid (“/grid”) framework u SlashGrid is a framework for making “Grid-aware” filesystems n in particular, filesystems where Grid credentials not Unix UID or GID determine access to files u Individual filesystems are provided by dynamically loaded plugins n configuration in /etc/fstab u Filesystems so far: certfs, gmapfs, httpfs and curlfs u SlashGrid verifies and manages the Grid credentials associated with a UID and makes this available to plugins in an efficient way. u Currently uses GSI proxies, full X509 certificates or gridmap (grid- mapfile or Pool account gridmapdir) u Will also pull information from LCMAPS in future versions.

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 certfs filesystem u In TB 1, pool accounts create files as the Pool UID n If Pool UID is recycled, files are now owned by new user of that UID! u With certfs, file access is controlled by per-directory or per-file ACL’s in terms of certificate subjects. u This means that if my UID is reused, the new user can’t access my files because their credentials don’t match the ACL. u If I come back with a different UID, I do match the ACL since my Grid credentials are the same, and I can read my old files. u certfs uses GACL ACL library, so ACL’s can also include VOMS or LDAP VO groups, CAS objects or other credentials supported by GACL in the future. u certfs has been stress tested: eg you can build a bootable Linux kernel in a directory hierarchy on a certfs filesystem (~100,000 operations?)

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 GACL Access Control Lists u XML format for controlling read, list, write and admin access u Can specify DN, LDAP VO group, VOMS group or CAS objects n Can easily be extended to other credential types u C libgacl is provided to manipulate ACL objects in memory n permissions (eg write), credentials (eg a DN), entries and whole ACL’s. n access functions allow you to construct and test ACL components n aim for efficiency since ACL may need to be evaluated repeatedly n working on Java implementation of the same API u Aim to standardise some form of GACL ACL’s through GGF Authorisation WG. u GACL API intended to insulate applications from changes to XML representation.

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 HTTPS u HTTPS is an interesting and important protocol for several reasons: n it is by far the most widely deployed secure protocol n has a large amount of high quality software that we could leverage n has excellent interaction with Firewalls, Network Address Translation and Application Proxies s has the potential to solve some of the problems sites have with private IP farms n along with HTTP, is the basis for Web and Grid Services u HTTPS consists of HTTP/1.1 over an SSL connection n security done by SSL layer, using X509 certificates (including GSI) u HTTP/1.1 (rfc2616) and extensions like WebDAV (rfc2518) have a rich set of methods (GET, PUT, DELETE, COPY etc) headers (“Expires:” etc) and Errors (“413 Request Entity Too Large”) n so a standard way exists for many of the transfer operations we need

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 fileGridSite u Read (GET) well supported by HTTPS servers. u However, write (PUT and DELETE) usually left to CGI programs, servlets etc. u Access control also limited to client IP or HTTP passwords. u fileGridSite adds Grid authorisation and write operation support to Apache n a cut-down version of GridSite (used for n file rather than webpage orientated (no fancy headers on HTML etc) n uses GACL to handle the Access Control Lists n can work with mod_ssl-GSI so clients can authenticate with a GSI proxy u Turns an Apache webserver into a Grid HTTPS fileserver with the key functionality of a GridFTP server.

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 fileGridSite examples with curl u Curl is a standard HTTP/HTTPS command line client (cf wget) u Get a file using GSI proxy in /tmp/x509up_u100 n curl --capath /etc/grid-security/certificates/ --cert /tmp/x509up_u100 u Copy a file to the fileGridSite server with HTTP PUT: n curl --capath /etc/grid-security/certificates/ --cert /tmp/x509up_u100 --upload-file /tmp/example2.txt u Delete a file with HTTP DELETE: n curl --capath /etc/grid-security/certificates/ --cert /tmp/x509up_u100 --request DELETE u Create a directory with PUT to …/ n curl --capath /etc/grid-security/certificates/ --cert /tmp/x509up_u100 --request PUT

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 curlfs for SlashGrid u curl is built on top of a general library, libcurl n handles persistent HTTP and HTTPS connections, SSL setup etc u To add HTTP and HTTPS filesystems to SlashGrid, have made a libcurl filesystem plugin: curlfs u This maps parts of the URL space into the local filesystem: n ---> /grid/https/a.b.com/newdir/ u Works with any standard HTTP or HTTPS server n rpm -i /grid/http/datagrid.in2p3.fr/distribution/globus/beta-21/RPMS/* u SlashGrid framework provides GSI proxy or full cert/key to curlfs so it can make authenticated requests. u Write with HTTP/1.1 PUT and DELETE being added to curlfs n Will complement fileGridSite support for these on server side

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 “G-HTTPS” u A proposal for backwards compatible extensions to HTTPS n being discussed on wp2-sec and wp7-security lists u Adds GSI proxy delegation to HTTPS using additional methods (eg PUT-PROXY) and headers (eg Delegation-ID) u Allows services to return generalised metadata in headers or by URL n initially this allows services to return the GACL ACL of a response for more efficient caching (ie sharing cached copies with other users.) u Aim is to avoid breaking existing HTTPS systems and to achieve “pass through” compatibility: n even if HTTPS client or server software doesn’t understand extensions, they can make them available to the application which does u Agree common extensions for use by Grid Services people (WP2/WP3) and file access people (WP5/WP6) Then --> GGF.

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 HTTP(S) as data protocol too? u HTTP(S) has a large amount of high quality software we can leverage u It is supported by existing web browsers ( my job output URL?) u It works well with Firewalls (just one port), NAT (one way connection) and Proxy Servers (Squid etc already available.) u It can be extended to do “Grid things” like delegation: G-HTTPS u Should be straightforward to add to Storage Element n Much of SE prototyping was done with HTTPS u It can support application-level multiple streams and striping by using the standard Range: header to set up many partial fetches. n A lot of websites run replicated/clustered server farms for HTTP(S) u Kernel-based “zero-copy” HTTP servers like tux are very efficient n negotiate in HTTPS, then get Redirect: to HTTP transfer URL for data??

Andrew McNab - SlashGrid, HTTPS, fileGridSite - 30 Oct 2002 Summary u SlashGrid provides framework for Grid-aware filesystems u certfs filesystem provides local disk storage controlled by Grid credentials n resolves Pool Account recycling problem u GACL Access Control Lists support DN, VOMS, CAS etc u fileGridSite HTTP(S) server has been written n supports read/write with standard utilities like curl u curlfs written for SlashGrid: maps URL’s into filesystem u “G-HTTPS” proposal for Grid extensions to HTTPS u HTTPS may be a viable alternative to GridFTP, even for data u Source code for SlashGrid, GACL, fileGridSite, curlfs is in EDG CVS u See for more details