By kavk800 on Tag:

ผมเรียนวิชา Information Security อยู่ ทีนี้มันเรียนแต่ทฤษฎี ถ้าผมต้องการให้เว็บมีการรักษาความปลอดภัยแบบ SSL ผมต้องทำอย่างไรบ้างถ้า

  • ผมลง OpenSSl แล้ว
  • ผมมี Secret Key และ Public Key แล้ว

ผมมีข้อสงสัยคือ

  • ในเว็บ PHP,JSP ที่ผมเขียนขึ้นมา จะต้องมีการใส่โค้ดเพิ่มเติมหรือไม่ หรือว่าผมแค่ย้ายไฟล์จาก httpdoc มาไว้ใน httpsdoc ก็ได้ SSL แล้ว?

ที่ผมสงสัยมาก ๆ คือ ต้องเปลี่ยนรูปแบบการเขียนเว็บให้รอง SSL หรือไม่

Hiring! บริษัทที่น่าสนใจ

Carmen Software company cover
Carmen Software
Hotel Financial Solutions
Next Innovation (Thailand) Co., Ltd. company cover
Next Innovation (Thailand) Co., Ltd.
We are web design with consulting & engineering services driven the future stronger and flexibility.
KKP Dime company cover
KKP Dime
KKP Dime บริษัทในเครือเกียรตินาคินภัทร
Kiatnakin Phatra Financial Group company cover
Kiatnakin Phatra Financial Group
Financial Service
Fastwork Technologies company cover
Fastwork Technologies
Fastwork.co เว็บไซต์ที่รวบรวม ฟรีแลนซ์ มืออาชีพจากหลากหลายสายงานไว้ในที่เดียวกัน
Thoughtworks Thailand company cover
Thoughtworks Thailand
Thoughtworks เป็นบริษัทที่ปรึกษาด้านเทคโนโยลีระดับโลกที่คว้า Great Place to Work 3 ปีซ้อน
Iron Software company cover
Iron Software
Iron Software is an American company providing a suite of .NET libraries by engineer for engineers.
CLEVERSE company cover
CLEVERSE
Cleverse is a Venture Builder. Our team builds several tech companies.
Nipa Cloud company cover
Nipa Cloud
#1 OpenStack cloud provider in Thailand with our own data center and software platform.
Bangmod Enterprise company cover
Bangmod Enterprise
The leader in Cloud Server and Hosting in Thailand.
CIMB THAI Bank company cover
CIMB THAI Bank
MOVING FORWARD WITH YOU - CIMB is the leading ASEAN Bank
Bangkok Bank company cover
Bangkok Bank
Bangkok Bank is one of Southeast Asia's largest regional banks, a market leader in business banking
MuvMi (Urban Mobility Tech Co.,Ltd.) company cover
MuvMi (Urban Mobility Tech Co.,Ltd.)
Shape the future of urban mobility towards affordable, clean, and safe solutions
T.N. Digital Solution Co., Ltd. company cover
T.N. Digital Solution Co., Ltd.
TNDS has been involving in every first move of banking’s major digital transformation.
KBTG - KASIKORN Business-Technology Group company cover
KBTG - KASIKORN Business-Technology Group
KBTG - "The Technology Company for Digital Business Innovation"
Siam Commercial Bank Public Company Limited company cover
Siam Commercial Bank Public Company Limited
"Let's start a brighter career future together"
Icon Framework co.,Ltd. company cover
Icon Framework co.,Ltd.
Global Standard Platform for Real Estate แพลตฟอร์มสำหรับธุรกิจอสังหาริมทรัพย์ครบวงจร มาตรฐานระดับโลก
REFINITIV company cover
REFINITIV
The Financial and Risk business of Thomson Reuters is now Refinitiv
H LAB company cover
H LAB
Re-engineering healthcare systems through intelligent platforms and system design.
The Gang Technology Co., Ltd. company cover
The Gang Technology Co., Ltd.
We're a Digital Agency that helps our customers transform their business into digital with ease.
LTMH company cover
LTMH
LTMH มุ่งเน้นการพัฒนาผลิตภัณฑ์ที่สามารถช่วยพันธมิตรของเราให้บรรลุเป้าหมาย
Seven Peaks company cover
Seven Peaks
We Drive Digital Transformation
Wisesight (Thailand) Co., Ltd. company cover
Wisesight (Thailand) Co., Ltd.
The Best Choice For Handling Social Media · High Expertise in Social Data · Most Advanced and Secure
MOLOG Tech company cover
MOLOG Tech
We are Modern Logistic Platform, Specialize in WMS, OMS and TMS.
Data Wow Co.,Ltd company cover
Data Wow Co.,Ltd
We enable our clients to realize increased productivity by solving their most complex issues by Data
LINE Company Thailand company cover
LINE Company Thailand
LINE, the world's hottest mobile messaging platform, offers free text and voice messaging + Call
LINE MAN Wongnai company cover
LINE MAN Wongnai
Join our journey to becoming No.1 food platform in Thailand

lew Fri, 19/09/2008 - 00:36

เอา firefox เปิดเว็บ ถ้า address bar ขึ้นเป็นเหลืองๆ ก็นั่นล่ะครับ SSL

ระบบ SSL ไม่ใช่การรักษาความปลอดภัยที่สมบูรณ์ "พอ" โดยทั่วไป (ไม่มีระบบที่ปลอดภัยสมบูรณ์จริงๆ ในโลก) โดยมากแล้วนิยมใช้ PKI เพื่อเพิ่มความปลอดภัยขึ้นอีกหน่อย

ลองใช้พวก ethereal มาจับ packet ดูครับว่าใช้กับไม่ใช้มันต่างกันยังไง จะได้เรียนรู้อะไรเยอะเลย

LewCPE

kavk800 Fri, 19/09/2008 - 01:19

In reply to by lew

คือผมทราบแล้วล่ะครับว่า SSL คืออะไรและมันทำงานอย่างไร

ที่ผมอยากทราบก็คือว่า ถ้ามองในฐานะที่ผมเป็นคนเขียนเว็บ ผมต้องเขียนอะไรเพิ่มเติมหรือเปล่าเพื่อให้เว็บที่ผมเขียนมีการเข้ารหัสก่อนการแลกเปลี่ยนของข้องมูล

iCyLand Fri, 19/09/2008 - 08:03

ไม่ต้องเขียนอะไรเพิ่มเติ่มครับ
นำไฟล์ที่เราเขียนมาไปเก็บไว้ใน Folder ที่ Web Server ระบุว่าใช้ SSL

ตอนเราเปิดดูผ่าน Web Browser WB จะได้ Public Key มาไว้สำหรับเข้ารหัส
ข้อมูลใน Form ที่เรากรอก เมื่อข้อมูลส่งไปถึง Server Web Server ก็จะมี
Secret Key หรือ Private Key สำหรับถอดรหัสข้อมูลที่ส่งไป แล้วจึงนำข้อมูล
ที่ถอดรหัสได้นั้น นำไปประมวลผลอีกที

แล้ว SSL เป็นการเข้ารหัสข้อมูลที่ส่งไปยัง Web Server จาก Browser
ไม่ใช้เป็นการป้องกันการ Hack ตัว Server อย่างที่ MICT เคยแก้
ตอนโดย Hack = =a ไปล่ะครับ

iCyLand's Cool iSland

iCyLand Fri, 19/09/2008 - 08:06

อ้อการโปรแกรมมิ่งไม่ต้องมีอะไรเพิ่มเดิมครับ
Web Browser จะทำการเข้ารหัสเอง

iCyLand's Cool iSland

tasanakorn Fri, 19/09/2008 - 19:36

ถ้าจะมีการใส่เพิ่มใน Code ก็คงจะเป็นส่วนการป้องกันการหลุดไป none-Secure น่ะครับ เพราะบางที่โปรแกรมออกแบบอย่าง DreamWeaver แล้ว บางที่ติด fully absolute path เป็น http:// มา

แต่ถ้าแยก ระหว่า httpdocs กับ httpsdocs อยู่แล้วคงไม่ต้องห่วงอะไรมากนัก เพราะ หลุดไป http// ก็แค่ HTTP 404 Error

http://www.thdiy.com