영어 질문?? ( Webdav 에서의 용어 설명 )
신당
안녕하세요.
찬 입니다.
참.. 제가.. 어이 없는 질문을 하나 드립니다. ㅎㅎ ;;
지금 제가 Webdav ( 웹상에서 화일을 올리고 내리고, 락을 걸고, 쉐어링을 할 수 있는 시스템 ) 을 처리하고 있는데.
그 중에서 Acess Control 부분을 처리하고 있습니다.
위에서 말했다 시피.. 웹상에서 화일을 올리고 내릴려면.. 권한이 있어야 할것입니다
( 그게 바로 Acess Control 부분이죠. )
그 권한을 처리 하는데 RFC 문서를 봐도.. 명확하게 잘 이해가 되지 않아..
제 짧은 영어 실력때문에 그런지.. 여쭈어 보려고 이렇게.. 글을 남깁니다.궁금한 부분은. 인증정보를 가지고 있는 사용자가 해당 화일에 대해서 권한을 가지고 있는지 확인하는 부분인데.
제가 문서를 확인하기로는 self 와 current-user-privilege-set 을 발견했습니다.
대략은 서로 해석을 해 보았는데..
과연 현재 접속한 사용자의 권한이.. 둘중에 어느곳에 설정 되어 있다는 말인지 알 수가 없습니다.
어떤곳에서는 SELF 정보가 넘어 오는 곳이 있는가 하면, ( 이곳에서는 current-user-privilege-set 정보가 오지 않음 )
어떤곳은 current-user-privilege-set 정보는 오는데 self 관련된 정보는 오지 않는군요.. 쩝..문제를 해결하는 방법이 하나 더 있을것 같아. 내일 시도해 보긴 할텐데..
이것 부터 명확해 지는게 좋을것 같아 이렇게 질문 올립니다.아래는 RFC 3744 - Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol 문서의 일부입니다.
=====================================
The current user matches a DAV:property principal in a DAV:acl property of a resource only if the value of the identified property of that resource contains at most one DAV:href XML element, the URI value of DAV:href identifies a principal, and the current user is authenticated as being (or being a member of) that principal. For example, if the DAV:property element contained DAV:owner/, the current user would match the DAV:property principal only if the current user is authenticated as matching the principal identified by the DAV:owner property of the resource.
!ELEMENT property ANY
The current user matches DAV:self in a DAV:acl property of the resource only if that resource is a principal and that principal matches the current user or, if the principal is a group, a member of that group matches the current user.
!ELEMENT self EMPTY
DAV:current-user-privilege-set is a protected property containing the exact set of privileges (as computed by the server) granted to the currently authenticated HTTP user. Aggregate privileges and their contained privileges are listed. A user-agent can use the value of this property to adjust its user interface to make actions inaccessible (e.g., by graying out a menu item or button) for which the current principal does not have permission. This property is also useful for determining what operations the current principal can perform, without having to actually execute an operation.
!ELEMENT current-user-privilege-set (privilege*)
!ELEMENT privilege ANY
If the current user is granted a specific privilege, that privilege must belong to the set of privileges that may be set on this resource. Therefore, each element in the DAV:current-user-privilege-set property MUST identify a non-abstract privilege from the DAV:supported-privilege-set property.
========================================이글을 보시는 분이 Webdav 전문가이시면 더욱 더 좋겠지만,
그냥 -_- 영어만 명확하게 하시는 분들이라도.. 저게 -_- 서로 뭐가 틀린가에 대해서 좀 알려 주세요~ ㅠ_ㅠ
( 그리 길지 않은 영문이니.. 부탁 드립니다. ㅠ_ㅠ )
즐거운 하루 되세요~ ^_^
-
딥핑크
역시나 예상했던대로 -_- 응답이 없네용.. ㅋㅋㅋㅋ
그냥.. 예측하는 방법으로 처리 했습니다. ^_^ -
맛조이
이제 메뉴얼도 한글화 하면 안될려나 ㅜㅜ
-
댓걸
제 짧은;; 영어로는;; 학교 다시 갈래~~~ ㅜㅜ