动态网站制作指南 [  QQ表情  ]
[ 投票调查 ]
[ 企业邮箱 ]
[ 网站空间 ]
网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
ASP源码 | .Net源码 | PHP源码 | JSP源码 | JAVA源码 | CGI源码 | VB源码 | C++源码 | Delphi源码 | PB源码 | VF源码 | 汇编 | 服务器
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > 数据库 > Oracle教程
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
数据库:数据库教程,数据库技巧,Oracle教程,MySQL教程,Sybase教程,Access教程,DB2教程,数据库安全,数据库文摘
文章搜索服务
邮件订阅
输入你的邮件地址,
你将不会错过任何关于:
[ Oracle教程 ]的信息

本月文章推荐
.Oracle 10G 最佳20位新特性:自动.
.解析Oracle的操作系统项目Raw Ir.
.利用oracle高级复制功能实现数据.
.在unix下定时执行oracle的sql方法.
.ORACLE ERP 11 系统解决方案 AP应.
.ORACLE之APACHE虚拟服务器设置.
.如何更快地批量数据处理?.
.MdkLinux 初体验.
.Oracle中Number(p,s)的意义.
.说Oracle的MTS.
.system table.
.Kill Session[Metalink].
.利用logmnr恢复大量误删除数据.
.供应商:面对艰难的许可证选择.
.旧数据文件,旧控制文件,新日志.
.介绍使用数据库保存session的方法.
.Oracle 10g学习手册2:安装与构建.
.oracle8.1.7 在redhat7.2下的安装.
.用Linux+IPChains代替Windows+.
.漫谈镜像(备份)网站的几种有效方.

ORACLE在HP-UX下的系列问题处理(30)

发表日期:2008-2-9 |



  HP-UX Netscape FastTrackServer with ACL: 拒绝访问 cgi 文件问题描述
  
  我想通过设置用户和密码来限制访问我的cgi-bin 目录中的一个特定的cgi 脚本。我试着为cgi脚本向URL中设置了访问控制,但是仍然是所有的客户都能访问该脚本。我应该怎样能够限制对这个资源的访问呢?
  
  我配置了用户并设置了一个ACL (Access control list访问控制列表),其中有两个条目:
  1. 拒绝任何人访问cgi 脚本
  而且 2.答应特定的用户访问cgi,这要在用户登录时使用提示符进行提示。
  在适当的地方使用访问控制,可以拒绝所有的用户的访问。
  但是,当拒绝客户访问该资源时,检查/opt/ns-ftrack/httpd-default/logs/errors 文件,会发现其中显示了这些错误:
  
  [29/Apr/1998:15:13:51] security: [NSACL4330] ACL_GetAttribute: attr
  getter failed to get user
  [NSACL4330] ACL_GetAttribute: attr getter failed to get
  isvalid-passWord
  [NSACL5850] ldap password check: couldn't initialize connection to LDAP.
  Reason: Couldn't initialize connection to the local ldap Directory
  [29/Apr/1998:15:13:51] security: for host 15.3.32.18 trying to GET
  /cgi-bin/test.cgi
  acl-state reports: access of
  /opt/docs/cgi-bin/test.cgi denied by ACL path
  =/opt/docs/cgi-bin/test.cgi directive 2
  
  我应该怎样配置服务器使七能够实现这一点呢?
  
  配置信息
  
  操作系统 - HPUX
  版本 - 10.20
  硬件系统 - HP 9000
  系列 -K460
  
  解决方法
  
  产生这个问题,原因在于对于服务器上的用户(www/other)来说, userdb 目录,子目录和文件的访问权限错误。
  请确保/opt/ns-ftrack 中的下列目录具有下面列出的权限:
  
  dr-xr-xr-x 3 bin other 1024 Apr 29 13:57 userdb
  dr-xr-xr-x 5 bin other 1024 Apr 29 13:57 ldap
  dr-xr-s--- 2 bin other 1024 Apr 29 14:24 db
  
  而且db 中的文件的权限应该是: -rw-rw---- 1 www other
  
  .........following with all English text ....
  HP-UX Netscape FastTrackServer with ACL: denying access to a cgi fileProblem Description
  
  I would like to restrict access to particular cgi script in my cgi-bin directory by user/password. I have tried to set up access
  control to the URL for the cgi script, but all clients still have access to the script. How can I restrict access to this resource?
  
  I configured users, and set up an ACL (access control list) with two entries:
  1. Deny everyone access to the cgi script, and
  2.Allow specific users access to the cgi by authenticating with a prompt for a user login and prompt. With the Access control in place, all users are denied access.
  
  A check of the /opt/ns-ftrack/httpd-default/logs/errors file shows
  these errors when the client is denied access to the resource:
  
  [29/Apr/1998:15:13:51] security: [NSACL4330] ACL_GetAttribute: attr
  getter failed to get user
  [NSACL4330] ACL_GetAttribute: attr getter failed to get
  isvalid-password
  [NSACL5850] ldap password check: couldn't initialize connection
  to LDAP.
  Reason: Couldn't initialize connection to the local ldap directory
  [29/Apr/1998:15:13:51] security: for host 15.3.32.18 trying to GET
  /cgi-bin/test.cgi, acl-state reports: access of
  /opt/docs/cgi-bin/test.cgi denied by ACL path
  =/opt/docs/cgi-bin/test.cgi directive 2
  
  How can I configure the server for this to work?

  
  Configuration Info
  
  Operating System - HPUX
  Version - 10.20
  Hardware System - HP 9000
  Series - K460
  
  Solution
  
  The problem is caused by improper access permissions to the userdb directory, subdirectories and files by the server user (www/other).
  Make sure the following directories under /opt/ns-ftrack have the following permissions:
  
  dr-xr-xr-x 3 bin other 1024 Apr 29 13:57 userdb
  dr-xr-xr-x 5 bin other 1024 Apr 29 13:57 ldap
  dr-xr-s--- 2 bin other 1024 Apr 29 14:24 db
  
  and files under db should be: -rw-rw-- 1 www other
上一篇:ORACLE在HP-UX下的系列问题处理(34) 人气:396
下一篇:ORACLE在HP-UX下的系列问题处理(31) 人气:364
浏览全部Oracle教程的内容 Dreamweaver插件下载 常用网页广告代码全集
  最新网站源码 最新软件下载
2008-8-30 HBcms(宏博cms)内容管理系统 v1.1
2008-8-30 邓西网站帮助系统 v2.3
2008-8-30 破竹CMS v4.0.7.21
2008-8-30 美女写真网图片小偷 v1.5 全站静
2008-8-30 PHP美女写真Cms v1.00
2008-8-30 PHPer.yang情书系统 v1.0
2008-8-30 快乐商城全站源码
2008-8-29 oblog v4.6 build 20080827
2008-8-29 ASBLOG v2.5 bulid 080828
2008-8-23 Mini WinMount V0.4
2008-8-23 Vista优化大师3.11正式版
2008-8-23 Wine 1.13
2008-8-23 KlipFolio 5.0 Build 5899-80
2008-8-23 Windows Sysinternals Desktops
2008-8-23 OneTap Movies1.2破解版
2008-8-23 AnnotaterPDF阅读1.1.503 破解版
2008-8-23 SoundMeter分贝测量仪 v1.0汉化破
2008-8-23 iDrum音乐节拍1.0破解版
  发表评论
姓 名: 验证码:
内 容:
站长工具:网站收录查询 | Google PR查询 | ALEXA排名查询 | CSS在线编辑器 | 广告代码 | Html转换js | js/vbs加密 | md5加密 | 进制转换
实用工具:汉字翻译拼音 | 符号对照表 | 个税计算 | 经典小工具 | 汉字简繁转换 | 普通单位换算 | 公制单位换算 | 生辰老黄历 | 国内电话区号 国家代码与域名缩写 | 文字加密解密 | 健康查询 | 万年历 | 汉字横竖排版 | 手机号码查询 | 计算器 | ip搜索
业务联系 | 广告刊登 | 频道合作 | 投稿荐稿 | 联系方式 | 加入收藏 | RSS订阅
Copyright © 2000-2008 www.knowsky.com All rights reserved | 网络实名:动态网站制作指南 | 沪ICP备05001343号
ホームページ制作 不動産検索システム 求人情報
防水工事·改修工事 フットサル大会 探偵